add proper feature tests for putenv, getenv

This commit is contained in:
rofl0r 2012-01-24 07:14:45 +01:00
parent c3a0f677fb
commit 150e624182

View File

@ -14,7 +14,10 @@
* (at your option) any later version. *
* *
***************************************************************************/
#undef _POSIX_C_SOURCE
#define _POSIX_C_SOURCE 200809L
#undef _XOPEN_SOURCE
#define _XOPEN_SOURCE 700
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>