OK, we can't use __GLIBC_PREREQ, since some compilers report a parse error when it's not present. b=177912

git-svn-id: svn://10.0.0.236/trunk@138232 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dbaron%dbaron.org 2003-02-22 20:45:06 +00:00
parent 1a833f934a
commit c97b10caab

View File

@ -68,7 +68,7 @@
#include "nsAppShellCIDs.h"
static NS_DEFINE_CID(kAppShellServiceCID, NS_APPSHELL_SERVICE_CID);
#elif defined(LINUX)
#if defined(__GLIBC_PREREQ) && __GLIBC_PREREQ(2,3)
#if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)
#include <string.h>
#else
extern "C" char * strsignal(int);