summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKO Myung-Hun <komh@chollian.net>2014-12-19 01:52:01 +0000
committerPádraig Brady <P@draigBrady.com>2014-12-19 01:57:21 +0000
commit70d8d0f874d11990be48b7b6b70c2c274000b3da (patch)
tree58d252475732f29c78d00282ed4740cbfe04cbda /src
parent92519ce05878ddb78056ea2693ff986e2ac05730 (diff)
downloadcoreutils-70d8d0f874d11990be48b7b6b70c2c274000b3da.tar.xz
build: don't call OS/2 routines on all systems
* src/system.h: Add a missing __OS2__ ifdef guard. Also adjust spacing around () to avoid a syntax-check failure.
Diffstat (limited to 'src')
-rw-r--r--src/system.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/system.h b/src/system.h
index 2d2635a68..e4bb9f56c 100644
--- a/src/system.h
+++ b/src/system.h
@@ -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"