]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
ltmain.in: correct windows compiler preprocessor checks
authorOzkan Sezer <sezeroz@gmail.com>
Fri, 1 Mar 2024 08:37:28 +0000 (11:37 +0300)
committerIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Fri, 1 Mar 2024 17:51:32 +0000 (19:51 +0200)
Commit f54924fa5d8d5959038e58adab7c552c3ca495ae seems to have been
wrongly applied.

build-aux/ltmain.in

index 1b8d50316dd6885a92cfbc943f99dc5d3cec5460..af4970bed7def36d072b8be2f436f151983f0c92 100644 (file)
@@ -3638,7 +3638,7 @@ EOF
 #endif
 #include <stdio.h>
 #include <stdlib.h>
-#if defined (WIN32) && !defined (__GNUC_)
+#if defined (_WIN32) && !defined (__GNUC__)
 # include <direct.h>
 # include <process.h>
 # include <io.h>