Use built-in _WIN32 macro instead of WIN32

This commit is contained in:
Mitchell Livingston
2014-07-04 00:00:07 +00:00
parent d0695b7006
commit 0e01879974
30 changed files with 81 additions and 84 deletions

View File

@@ -77,7 +77,7 @@ void tr_lockUnlock (tr_lock *);
/** @brief return nonzero if the specified lock is locked */
int tr_lockHave (const tr_lock *);
#ifdef WIN32
#ifdef _WIN32
void * mmap (void *ptr, long size, long prot, long type, long handle, long arg);
long munmap (void *ptr, long size);