summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
Diffstat (limited to 'generic')
-rw-r--r--generic/tkBitmap.c4
-rw-r--r--generic/tkImgGIF.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/generic/tkBitmap.c b/generic/tkBitmap.c
index 173de25..5c8a9fc 100644
--- a/generic/tkBitmap.c
+++ b/generic/tkBitmap.c
@@ -24,7 +24,7 @@
* temporarily turn off that warning message.
*/
-#if defined(__WIN32__) || defined(_WIN32)
+#if defined(_MSC_VER)
#pragma warning (disable : 4305)
#endif
@@ -39,7 +39,7 @@
#include "question.bmp"
#include "warning.bmp"
-#if defined(__WIN32__) || defined(_WIN32)
+#if defined(_MSC_VER)
#pragma warning (default : 4305)
#endif
diff --git a/generic/tkImgGIF.c b/generic/tkImgGIF.c
index 9c2004a..bbb3178 100644
--- a/generic/tkImgGIF.c
+++ b/generic/tkImgGIF.c
@@ -807,8 +807,8 @@ ReadImage(interp, imagePtr, chan, len, rows, cmap,
int v;
int xpos = 0, ypos = 0, pass = 0, i;
register char *pixelPtr;
- CONST static int interlaceStep[] = { 8, 8, 4, 2 };
- CONST static int interlaceStart[] = { 0, 4, 2, 1 };
+ static CONST int interlaceStep[] = { 8, 8, 4, 2 };
+ static CONST int interlaceStart[] = { 0, 4, 2, 1 };
unsigned short prefix[(1 << MAX_LWZ_BITS)];
unsigned char append[(1 << MAX_LWZ_BITS)];
unsigned char stack[(1 << MAX_LWZ_BITS)*2];