]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
tests: delete duplicate macro check
authorViktor Szakats <commit@vsz.me>
Thu, 19 Sep 2024 00:17:58 +0000 (02:17 +0200)
committerViktor Szakats <commit@vsz.me>
Thu, 19 Sep 2024 10:43:54 +0000 (12:43 +0200)
Follow-up to e9a7d4a1c8377dbcf9a2d94365f60e3e5dff48f8 #12376

Closes #14963

tests/server/util.c

index a5cbd9cc7f7923285f73853c3464a6e8d7f05209..bfa63c7d7958be1dc17f9a8c214ff04c29bb28d0 100644 (file)
@@ -277,7 +277,7 @@ curl_off_t our_getpid(void)
   curl_off_t pid;
 
   pid = (curl_off_t)getpid();
-#if defined(_WIN32) || defined(_WIN32)
+#if defined(_WIN32)
   /* store pid + 65536 to avoid conflict with Cygwin/msys PIDs, see also:
    * - https://cygwin.com/git/?p=newlib-cygwin.git;a=commit; ↵
    *   h=b5e1003722cb14235c4f166be72c09acdffc62ea