Skip to content

Commit

Permalink
Fix ffi.h inclusion.
Browse files Browse the repository at this point in the history
  - Use the include directory (-I) already specified in the Makefiles.
  • Loading branch information
mahge committed Jul 20, 2021
1 parent 3500907 commit 05dd40f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions OMCompiler/Compiler/runtime/ffi_omc.c
Expand Up @@ -30,11 +30,7 @@
*/


#if defined(__APPLE__) /* MacOS doesn't like static libffi, use the system one */
#include <ffi.h>
#else /* sane systems */
#include "../../3rdParty/libffi/install/include/ffi.h"
#endif
#include "ffi.h"

#include <gc.h>

Expand Down

0 comments on commit 05dd40f

Please sign in to comment.