From: Erwin Janssen Date: Thu, 9 Feb 2017 06:57:08 +0000 (+0100) Subject: Remove `#ifdef _UWIN` block with hard path include X-Git-Tag: 2.42.0~199^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6fdf994b25f8cd7025148d4f09a461f560615242;p=graphviz Remove `#ifdef _UWIN` block with hard path include The header globals.h had an `#ifdef _UWIN` block at the top. This block had an include with a hard path, which is a bad idea. Since it has been 12 years since this block has been modified an UWIN isn't used in the current build, we remove this block. --- diff --git a/lib/common/globals.h b/lib/common/globals.h index 0c7c931dd..7cbdd9385 100644 --- a/lib/common/globals.h +++ b/lib/common/globals.h @@ -18,15 +18,6 @@ #ifndef GLOBALS_H #define GLOBALS_H -#ifdef _UWIN -#ifndef _POSIX_ /* ncc doesn't define _POSIX_ */ -/* i.e. if this is the win32 build using nmake with CC=ncc (native C) */ -/* this was the easiest way to get some simple libc interfaces. */ -#include "C:\Program Files\UWIN\usr\include\astwin32.h" -#undef _UWIN /* don't assume ANY _UWIN features in the execution environment */ -#endif /* _POSIX_ */ -#endif /* _UWIN */ - #ifdef __cplusplus extern "C" { #endif