aboutsummaryrefslogtreecommitdiff
path: root/src/array2rawbytes.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-04-25 15:24:30 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-04-25 15:24:30 +0000
commit2764bdc6ac0a1978f85d8409354ca3a372dca70d (patch)
tree4e25aa48321c3b7a32cb32348644d33512555e6f /src/array2rawbytes.c
parent2901926bb180bd6ad866b1bcde0636a9ef7eb1e0 (diff)
containing strange pragmas to only Microsoft's compiler, they are not needed elsewhere and trigger warnings
svn path=/trunk/externals/moocow/pdstring/; revision=11143
Diffstat (limited to 'src/array2rawbytes.c')
-rw-r--r--src/array2rawbytes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/array2rawbytes.c b/src/array2rawbytes.c
index ecd6de8..d3cb014 100644
--- a/src/array2rawbytes.c
+++ b/src/array2rawbytes.c
@@ -36,8 +36,8 @@
#include "mooPdUtils.h"
#include "pdstringUtils.h"
-/* black magic */
-#ifdef NT
+/* black magic for Microsoft's compiler */
+#ifdef _MSC_VER
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif