summaryrefslogtreecommitdiff
path: root/src/system.h
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2014-11-12 18:31:55 +0100
committerAndreas Baumann <abaumann@yahoo.com>2014-11-12 18:31:55 +0100
commit5ebbe3d69ae442d5f751137cf000012870ba85a7 (patch)
tree17be1678058fb5e0e08ba8a5582f8bafe290df76 /src/system.h
parent5076548a89022d7c25000b633a26482cf3c62e2e (diff)
downloadbiruda-5ebbe3d69ae442d5f751137cf000012870ba85a7.tar.gz
biruda-5ebbe3d69ae442d5f751137cf000012870ba85a7.tar.bz2
fixed architecture on Windows
Diffstat (limited to 'src/system.h')
-rw-r--r--src/system.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/system.h b/src/system.h
index 196b676..de55571 100644
--- a/src/system.h
+++ b/src/system.h
@@ -1,6 +1,10 @@
#ifndef _BIRUDA_SYSTEM_HEADER_INCLUDED
#define _BIRUDA_SYSTEM_HEADER_INCLUDED
+#ifdef _WIN32
+#define snprintf _snprintf
+#endif
+
#include <sys/types.h>
unsigned int system_available_cpus( void );