/* Test of fcntl(2).
- Copyright (C) 2009 Free Software Foundation, Inc.
+ Copyright (C) 2009-2011 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include "binary-io.h"
#include "macros.h"
-/* Use O_CLOEXEC if available, but test works without it. */
-#ifndef O_CLOEXEC
-# define O_CLOEXEC 0
-#endif
-
#if !O_BINARY
# define setmode(f,m) zero ()
static int zero (void) { return 0; }