  	const struct NLIST_TYPE* nl = get_nlist(pSyms, index);
  	if (!nl)
  		return NULL;
-@@ -149,6 +333,12 @@
+@@ -150,6 +334,12 @@
  
  void* dlSymsValue(DLSyms* pSyms, int index)
  {

 }
 
 
Index: dyncall/dynload/dynload_windows.c
===================================================================
--- dyncall/dynload/dynload_windows.c	(revision 1637)
+++ dyncall/dynload/dynload_windows.c	(working copy)
@@ -40,7 +40,9 @@
 DLLib* dlLoadLibrary(const char* libPath)
 {
   if (libPath != NULL) {

 
 #include "dynload.h"
 #include "dynload_alloc.h"
@@ -40,15 +41,16 @@
 
 #if defined(ARCH_X64) //@@@ use dyncall_macros.h
 #define MACH_HEADER_TYPE mach_header_64
+#define MACH_MAGIC MH_MAGIC_64
 #define SEGMENT_COMMAND segment_command_64
