config: fix build with external compiler by passing the sysroot where needed
[AROS.git] / tools / collect-aros / docommand.h
blob3413ba2bfcfc2e6800301dacda783ff862fcf075
1 #ifndef _DOCOMMAND_H_
2 #define _DOCOMMAND_H_
4 extern void docommandv(const char *command, char *argv[]);
5 extern void docommandvp(const char *command, char *argv[]);
7 #define docommandl(_command, _argv...) \
8 do \
9 { \
10 char *argv[] = { _argv }; \
11 docommandv(_command, argv); \
12 } while (0);
14 #define docommandlp(_command, _argv...) \
15 do \
16 { \
17 char *argv[] = { _argv }; \
18 docommandvp(_command, argv); \
19 } while (0);
21 #endif /* !_DOCOMMAND_H */