Added O_BINARY and O_TEXT (for Windows).
This commit is contained in:
parent
9c43c590bc
commit
98d9d09090
|
@ -2211,6 +2211,12 @@ all_ins(d)
|
||||||
#endif
|
#endif
|
||||||
#ifdef O_TRUNC
|
#ifdef O_TRUNC
|
||||||
if (ins(d, "O_TRUNC", (long)O_TRUNC)) return -1;
|
if (ins(d, "O_TRUNC", (long)O_TRUNC)) return -1;
|
||||||
|
#endif
|
||||||
|
#ifdef O_BINARY
|
||||||
|
if (ins(d, "O_BINARY", (long)O_BINARY)) return -1;
|
||||||
|
#endif
|
||||||
|
#ifdef O_TEXT
|
||||||
|
if (ins(d, "O_TEXT", (long)O_TEXT)) return -1;
|
||||||
#endif
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue