More for mdb_env_copy().

Fix #define _GNU_SOURCE = 1 to match any command line -D_GNU_SOURCE.
.gitignore += mdb_copy.
vmware
Hallvard Furuseth 12 years ago
parent 462d9dfd10
commit 092f9a5c66
  1. 1
      libraries/libmdb/.gitignore
  2. 2
      libraries/libmdb/mdb.c

@ -1,6 +1,7 @@
mtest mtest
mtest[23456] mtest[23456]
testdb testdb
mdb_copy
mdb_stat mdb_stat
*.[ao] *.[ao]
*.so *.so

@ -32,7 +32,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
#define _GNU_SOURCE #define _GNU_SOURCE 1
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/param.h> #include <sys/param.h>

Loading…
Cancel
Save