Skip to content

Commit

Permalink
more fixes to headers
Browse files Browse the repository at this point in the history
  • Loading branch information
weltling committed Jul 24, 2015
1 parent 430f5b1 commit 1361252
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fficonfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,10 @@
#define PACKAGE_VERSION "3.2.1"

/* The size of `double', as computed by sizeof. */
#define SIZEOF_DOUBLE 0
#define SIZEOF_DOUBLE (sizeof(double))

/* The size of `long double', as computed by sizeof. */
#define SIZEOF_LONG_DOUBLE 0
#define SIZEOF_LONG_DOUBLE (sizeof(long double))

/* If using the C implementation of alloca, define if you know the
direction of stack growth for your system; otherwise it will be
Expand Down
6 changes: 6 additions & 0 deletions include/ffi.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,15 @@ extern "C" {
#endif

/* Specify which architecture libffi is configured for. */
#ifdef _WIN64
#ifndef X86_WIN64
#define X86_WIN64
#endif
#else
#ifndef X86_WIN32
#define X86_WIN32
#endif
#endif

/* ---- System configuration information --------------------------------- */

Expand Down

0 comments on commit 1361252

Please sign in to comment.