WIN64 support (sill needs improvement)
This commit is contained in:
10
packages/gecode/gecode4-common.icc
Normal file → Executable file
10
packages/gecode/gecode4-common.icc
Normal file → Executable file
@@ -19,6 +19,16 @@
|
||||
#ifndef GECODE_COMMON
|
||||
#define GECODE_COMMON
|
||||
|
||||
#if defined(_MSC_VER) || defined(__MINGW32__)
|
||||
#define __i386__ 1
|
||||
#if __x86_64__
|
||||
#define _WIN64 1
|
||||
#define _AMD64_ 1
|
||||
#endif
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
|
||||
#include "gecode/driver.hh"
|
||||
#include "gecode/int.hh"
|
||||
#include "gecode/set.hh"
|
||||
|
Reference in New Issue
Block a user