Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
5098 clevermous 1
if tup.getconfig("TUP_PLATFORM") == "win32"
2
-- on win32 '#' is not a special character, but backslash and quotes would be printed as is
3
then tup.rule('echo #define NEEDS_UNDERSCORES > %o', {"config.h"})
4
-- on unix '#' should be escaped
5
else tup.rule('echo "#define NEEDS_UNDERSCORES" > %o', {"config.h"})
6
end