]> de.git.xonotic.org Git - xonotic/d0_blind_id.git/blobdiff - sha2.h
win32 build fixes
[xonotic/d0_blind_id.git] / sha2.h
diff --git a/sha2.h b/sha2.h
index 618a6f32b00d5918bc375c0cf78bbcca723b1207..0f4a9e7aee9251b418f00adef455bab6c7a95dec 100644 (file)
--- a/sha2.h
+++ b/sha2.h
 extern "C" {
 #endif
 
+#ifdef WIN32
+# define SHA2_USE_INTTYPES_H
+# define LITTLE_ENDIAN 1234
+# define BIG_ENDIAN    4321
+# define BYTE_ORDER LITTLE_ENDIAN 
+#else
+# define SHA2_USE_INTTYPES_H
+#endif
 
 /*
  * Import u_intXX_t size_t type definitions from system headers.  You