freetdm: add __USE_BSD to ftdm_os, needed by unistd.h for usleep() and string.h to define strcasecmp()

add -Werror even when the compiler is unknown. This is just a work-around to gcc not being detected
	 as GNU by our current standalone build (not bootstrapped through FreeSWITCH)
This commit is contained in:
Moises Silva committed 2010-12-17 20:27:37 -05:00
1 parent aa69927b8f
commit 2b0bba8e94
5 files changed
+9 -11

No files matched your search

+1 -6
View File
@@ -48,12 +48,7 @@
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#if defined(__linux__) && !defined(__USE_BSD)
#define __USE_BSD
#endif
#ifndef WIN32
#include <unistd.h>
#endif
#include "freetdm.h"