Changed #if to use "defined".
authorWayne Davison <wayned@samba.org>
Mon, 14 Feb 2005 02:34:01 +0000 (02:34 +0000)
committerWayne Davison <wayned@samba.org>
Mon, 14 Feb 2005 02:34:01 +0000 (02:34 +0000)
support/savetransfer.c

index bec6c0686a0f9a40609373f01b8f5e34cf2eb2eb..00778be7bb5679ec889eb7722cc05bacebbbe1a4 100644 (file)
@@ -75,7 +75,7 @@ main(int argc, char *argv[])
 
     run_program(argv + 1);
 
-#if HAVE_SETMODE && O_BINARY
+#if defined HAVE_SETMODE && O_BINARY
     setmode(STDIN_FILENO, O_BINARY);
     setmode(STDOUT_FILENO, O_BINARY);
 #endif