]> Dogcows Code - chaz/tar/blobdiff - src/rtapelib.c
(decode_oflag): O_APPEND might not be defined.
[chaz/tar] / src / rtapelib.c
index 8ec2f81df3bfbcab493cfc7420fd565889a86022..19d2d2dd7d885f221ccae788be6f0230b1637685 100644 (file)
@@ -328,7 +328,9 @@ encode_oflag (char *buf, int oflag)
     default: abort ();
     }
 
+#ifdef O_APPEND
   if (oflag & O_APPEND) strcat (buf, "|O_APPEND");
+#endif
   if (oflag & O_CREAT) strcat (buf, "|O_CREAT");
 #ifdef O_DSYNC
   if (oflag & O_DSYNC) strcat (buf, "|O_DSYNC");
This page took 0.023694 seconds and 4 git commands to generate.