Use _WIN32 instead of __WIN32.

ok bcook@
This commit is contained in:
宋冬生 2014-11-05 20:52:00 +08:00 committed by Brent Cook
parent f223e6f14d
commit 648e913627
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
#elif defined(__sun)
#include "arc4random_solaris.h"
#elif defined(__WIN32)
#elif defined(_WIN32)
#include "arc4random_win.h"
#else

View File

@ -1,7 +1,7 @@
#ifndef LIBCRYPTOCOMPAT_BYTE_ORDER_H_
#define LIBCRYPTOCOMPAT_BYTE_ORDER_H_
#if defined(__WIN32)
#if defined(_WIN32)
#define LITTLE_ENDIAN 1234
#define BIG_ENDIAN 4321