]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
build: don't call OS/2 routines on all systems
authorKO Myung-Hun <komh@chollian.net>
Fri, 19 Dec 2014 01:52:01 +0000 (01:52 +0000)
committerPádraig Brady <P@draigBrady.com>
Fri, 19 Dec 2014 01:57:21 +0000 (01:57 +0000)
* src/system.h: Add a missing __OS2__ ifdef guard.
Also adjust spacing around () to avoid a syntax-check failure.

src/system.h

index 2d2635a6871f0556766cbc397eedd02d390d7e3b..e4bb9f56cd04963310b90491c0bf957cdbbd1940 100644 (file)
@@ -137,8 +137,12 @@ enum
 /* Redirection and wildcarding when done by the utility itself.
    Generally a noop, but used in particular for OS/2.  */
 #ifndef initialize_main
-# define initialize_main(ac, av) \
-    do { _wildcard(ac, av); _response(ac, av); } while (0)
+# ifndef __OS2__
+#  define initialize_main(ac, av)
+# else
+#  define initialize_main(ac, av) \
+     do { _wildcard (ac, av); _response (ac, av); } while (0)
+# endif
 #endif
 
 #include "stat-macros.h"