From 421a724a03fd01105c64f9085dd7207a60396a17 Mon Sep 17 00:00:00 2001 From: Stas Degteff Date: Sat, 21 Jan 2006 16:12:31 +0000 Subject: [PATCH] Fix *nix build --- goldlib/gall/gstrall.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/goldlib/gall/gstrall.h b/goldlib/gall/gstrall.h index ddaa8a6..7ac32bb 100644 --- a/goldlib/gall/gstrall.h +++ b/goldlib/gall/gstrall.h @@ -124,7 +124,7 @@ inline char* strskip_wht(char* p) { while(*p and isspace(*p)) p++; return p; } inline const char* strskip_digits(const char* p) { return p+strspn(p, "0123456789"); } inline char* strskip_digits(char* p) { return p+strspn(p, "0123456789"); } -#if defined(_MSC_VER) || (defined(__GNUC__) && !defined(__DJGPP__)) || defined(__WATCOMC__) +#if defined(_MSC_VER) || (defined(__GNUC__) && defined(__WIN32__)) || defined(__WATCOMC__) inline char * stpcpy(char* dest, const char* src) { while ((*dest++ = *src++) != NUL) {} return --dest;