mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Try to get ffi tyo compile on mingw32
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22672 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
822acf8221
commit
8065e653d5
2 changed files with 21 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-03-17 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/cifframe.h: Add code to try to get ffi muld to work on
|
||||
mingw32
|
||||
|
||||
2006-03-17 Andrew Sveikauskas <asveikau@mail.rochester.edu>
|
||||
|
||||
* Source/thr-mach.h: include objc/objc-api.h
|
||||
|
|
|
@ -19,15 +19,29 @@
|
|||
|
||||
You should have received a copy of the GNU Library General Public
|
||||
License along with this library; if not, write to the Free
|
||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02111 USA.
|
||||
*/
|
||||
|
||||
#ifndef cifframe_h_INCLUDE
|
||||
#define cifframe_h_INCLUDE
|
||||
|
||||
#include <ffi.h>
|
||||
|
||||
#if defined(__MINGW32__)
|
||||
/*
|
||||
* Avoid conflicts when other headers try to define UINT32 and UINT64
|
||||
*/
|
||||
#if defined(UINT32)
|
||||
#undef UINT32
|
||||
#endif
|
||||
#if defined(UINT64)
|
||||
#undef UINT64
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "Foundation/NSMethodSignature.h"
|
||||
#include "GNUstepBase/DistributedObjects.h"
|
||||
#include <ffi.h>
|
||||
|
||||
typedef struct _cifframe_t {
|
||||
ffi_cif cif;
|
||||
|
|
Loading…
Reference in a new issue