about summary refs log tree commit diff
path: root/lib/pm.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pm.h')
-rw-r--r--lib/pm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pm.h b/lib/pm.h
index 88f61522..72ecc919 100644
--- a/lib/pm.h
+++ b/lib/pm.h
@@ -86,7 +86,7 @@ extern "C" {
    We're ignoring S_IREAD now to see if anyone misses it.  If there are still
    users that need it, we can handle it here.
 */
-#ifdef WIN32
+#if MSVCRT
   #define PM_S_IWUSR _S_IWRITE
   #define PM_S_IRUSR _S_IREAD
 #else