Fixes for compilation problems on Solaris(!).
Added detection of glibc2 to fix Linux compilation problems. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -29,8 +29,14 @@
|
||||
|
||||
typedef WORD WPARAM;
|
||||
typedef DWORD LPARAM;
|
||||
typedef void* HWND;
|
||||
typedef int BOOL;
|
||||
// KB: I don't see where HWND and BOOL could get defined before here,
|
||||
// but putting in the #ifndef's solved the compilation problem on Solaris.
|
||||
#ifndef HWND
|
||||
typedef void* HWND;
|
||||
#endif
|
||||
#ifndef BOOL
|
||||
typedef int BOOL;
|
||||
#endif
|
||||
|
||||
# endif /* _UNIX_ */
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#ifndef _HENV_H
|
||||
#define _HENV_H
|
||||
|
||||
# include <config.h>
|
||||
# include "config.h"
|
||||
# include <dlproc.h>
|
||||
|
||||
# include <isql.h>
|
||||
|
Reference in New Issue
Block a user