Browse Source

Define O_CLOEXEC for older headers that don't have it.

nfactor-troky
Con Kolivas 13 years ago
parent
commit
80650dd919
  1. 3
      bitforce.c

3
bitforce.c

@ -17,6 +17,9 @@ @@ -17,6 +17,9 @@
#include <termios.h>
#include <sys/stat.h>
#include <fcntl.h>
#ifndef O_CLOEXEC
#define O_CLOEXEC 0
#endif
#else
#include <windows.h>
#include <io.h>

Loading…
Cancel
Save