projects
/
matthijs
/
ABM2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* Add ZeroMemory hack to compile mmanager.cpp.
[matthijs/ABM2.git]
/
ABM2
/
porting.h
diff --git
a/ABM2/porting.h
b/ABM2/porting.h
index 942acab36114e302b3c44aca8c89b25965f8a5f8..3ad233031284628127cdf9aeea6df26805207e56 100644
(file)
--- a/
ABM2/porting.h
+++ b/
ABM2/porting.h
@@
-1,4
+1,5
@@
#ifndef WIN32
#define vsprintf_s vsnprintf
#define sprintf_s snprintf
#ifndef WIN32
#define vsprintf_s vsnprintf
#define sprintf_s snprintf
+ #define ZeroMemory(buf, size) memset(buf, 0, size)
#endif // !WIN32
#endif // !WIN32