diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Initialize.c | 2 | ||||
-rw-r--r-- | src/Intrinsic.c | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/Initialize.c b/src/Initialize.c index bbc84b9..5813351 100644 --- a/src/Initialize.c +++ b/src/Initialize.c @@ -188,7 +188,7 @@ void _XtInherit(void) #endif -#if defined(__CYGWIN__) +#ifdef WIN32 /* * The Symbol _XtInherit is used in two different manners. * First it could be used as a generic function and second diff --git a/src/Intrinsic.c b/src/Intrinsic.c index 482df0a..df5c56d 100644 --- a/src/Intrinsic.c +++ b/src/Intrinsic.c @@ -952,9 +952,6 @@ static Boolean TestFile( #else (status.st_mode & S_IFMT) != S_IFDIR); /* not a directory */ #endif /* X_NOT_POSIX else */ -#if defined(WIN32) - XtStackFree ((XtPointer)bufp, buf); -#endif return ret; #else /* VMS */ return TRUE; /* Who knows what to do here? */ @@ -1313,7 +1310,7 @@ static void FillInLangSubs( */ static char *implementation_default_path(void) { -#if defined(WIN32) || defined(__UNIXOS2__) +#if defined(__UNIXOS2__) /* if you know how to pass % thru the compiler let me know */ static char xfilesearchpath[] = XFILESEARCHPATHDEFAULT; static Bool fixed; |