Skip to content

Instantly share code, notes, and snippets.

@vittee
Created July 21, 2016 09:47
Show Gist options
  • Save vittee/c0a40b7dfcb294cf5e6f636fe0be44f3 to your computer and use it in GitHub Desktop.
Save vittee/c0a40b7dfcb294cf5e6f636fe0be44f3 to your computer and use it in GitHub Desktop.
miasm2 modification for compiling with mingw32 on Windows
// Remove the weak linkage
PyObject* /*__attribute__((weak))*/ vm_get_mem(JitCpu *self, PyObject* args)
#define __BIG_ENDIAN 4321
#define __LITTLE_ENDIAN 1234
#define __BYTE_ORDER __LITTLE_ENDIAN
#define SIGALRM 14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment