simplify gitignore
[vg.git] / src / vg / vg_mem.h
index 2309707437d97d02a649a102f0c13610f26994c7..3a7a49da06814fe9c2c7d1d1b082ee6cc6a8ed5a 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef VG_MEM_H
 #define VG_MEM_H
 
+#include "vg.h"
 #include "vg_stdint.h"
 #include "vg_platform.h"
 
@@ -77,9 +78,15 @@ struct vg_linear_allocator
    /*                            */
    /*                            */
    /*                            */
+
+#ifdef _WIN32
+   /* 32 bit pointers! */
+   u8 padding[ 8 ];
+#endif
 };
 #pragma pack(pop)
 
+VG_STATIC void vg_fatal_exit_loop( const char *error );
 VG_STATIC void vg_error(const char *fmt, ...);
 VG_STATIC void vg_info(const char *fmt, ...);