diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2014-11-12 18:31:55 +0100 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2014-11-12 18:31:55 +0100 |
commit | 5ebbe3d69ae442d5f751137cf000012870ba85a7 (patch) | |
tree | 17be1678058fb5e0e08ba8a5582f8bafe290df76 /src/system.h | |
parent | 5076548a89022d7c25000b633a26482cf3c62e2e (diff) | |
download | biruda-5ebbe3d69ae442d5f751137cf000012870ba85a7.tar.gz biruda-5ebbe3d69ae442d5f751137cf000012870ba85a7.tar.bz2 |
fixed architecture on Windows
Diffstat (limited to 'src/system.h')
-rw-r--r-- | src/system.h | 4 |
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 ); |