]> git.imager.perl.org - imager.git/blobdiff - filters.c
- limit limits.c to C89
[imager.git] / filters.c
index b02e7a322289485dbbe1871a7207a683ec22ca69..2523de51932120b8224aecf36ca5797788322b63 100644 (file)
--- a/filters.c
+++ b/filters.c
@@ -140,7 +140,7 @@ Inverts the pixel values by the amount specified.
 =cut
 */
 
-#ifdef _MSC_VER
+#ifdef WIN32
 /* random() is non-ASCII, even if it is better than rand() */
 #define random() rand()
 #endif