summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGisle Vanem <gisle.vanem@gmail.com>2017-07-04 15:42:33 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-07-04 15:42:55 +0200
commitf8dba473a8ac0644058c7c12ae9500f45e564d45 (patch)
tree84d1e103dbbaa9f6bfe3f523fa9122d75d3855cb
parentc53438481068cf712fc96e97205acb8df489894d (diff)
downloadcurl-f8dba473a8ac0644058c7c12ae9500f45e564d45.tar.gz
smb: fix build for djgpp/MSDOS
bug: https://curl.haxx.se/mail/lib-2017-07/0005.html
-rw-r--r--lib/smb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/smb.c b/lib/smb.c
index c2df43b70..45545628a 100644
--- a/lib/smb.c
+++ b/lib/smb.c
@@ -34,7 +34,7 @@
#include <process.h>
#ifdef CURL_WINDOWS_APP
#define getpid GetCurrentProcessId
-#else
+#elif !defined(MSDOS)
#define getpid _getpid
#endif
#endif