Use POSIX macros for linux
This commit is contained in:
@@ -729,7 +729,7 @@ FindDialog::compareMessage(DtMailMessageHandle handle)
|
||||
return(found);
|
||||
}
|
||||
|
||||
#if !defined(CSRG_BASED) && !defined(linux) && !defined(sun)
|
||||
#if !defined(CSRG_BASED) && !defined(__linux__) && !defined(sun)
|
||||
//
|
||||
// See if string 'toFind' is anyware in string 'str'.
|
||||
// A case-insensitive version of strstr().
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
|
||||
#include <unistd.h>
|
||||
#include <wchar.h>
|
||||
#if defined(linux) || defined(CSRG_BASED)
|
||||
#if defined(__linux__) || defined(CSRG_BASED)
|
||||
#define wcswcs wcsstr
|
||||
#include <wctype.h>
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user