Просмотр исходного кода

Reinclude includes in aes.h and gcm.h

twisted_pear 2 лет назад
Родитель
Сommit
6d7890b8f8
2 измененных файлов с 4 добавлено и 4 удалено
  1. 2 2
      crypto/aes.h
  2. 2 2
      crypto/gcm.h

+ 2 - 2
crypto/aes.h

@@ -32,12 +32,12 @@
 #define ENCRYPT         1       // specify whether we're encrypting
 #define DECRYPT         0       // or decrypting
 
-/*#if defined(_MSC_VER)
+#if defined(_MSC_VER)
     #include <basetsd.h>
     typedef UINT32 uint32_t;
 #else
     #include <inttypes.h>
-#endif*/
+#endif
 
 typedef unsigned char uchar;    // add some convienent shorter types
 typedef unsigned int uint;

+ 2 - 2
crypto/gcm.h

@@ -28,14 +28,14 @@
 
 #include "aes.h"                        // gcm_context includes aes_context
 
-/*#if defined(_MSC_VER)
+#if defined(_MSC_VER)
     #include <basetsd.h>
     typedef unsigned int size_t;// use the right type for length declarations
     typedef UINT32 uint32_t;
     typedef UINT64 uint64_t;
 #else
     #include <stdint.h>
-#endif*/
+#endif
 
 
 /******************************************************************************