diff options
author | alex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-09-22 07:31:02 +0000 |
---|---|---|
committer | alex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-09-22 07:31:02 +0000 |
commit | 0790d2ea0fc71c1f67042fe8112bb5c4ad7a3dce (patch) | |
tree | 9c5bc73947b9a1809aa973377daea057829a610b /include | |
parent | 5416a06d7dd7a20367895bd56534f3ee6bbbdaa4 (diff) | |
download | zabbix-0790d2ea0fc71c1f67042fe8112bb5c4ad7a3dce.tar.gz zabbix-0790d2ea0fc71c1f67042fe8112bb5c4ad7a3dce.tar.xz zabbix-0790d2ea0fc71c1f67042fe8112bb5c4ad7a3dce.zip |
- [ZBX-69] eliminated compilation warnings "_GNU_SOURCE redefined" (Alexei)
[svn merge -r4771:4773 svn://svn.zabbix.com/branches/1.4]
git-svn-id: svn://svn.zabbix.com/trunk@4774 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'include')
-rw-r--r-- | include/sysinc.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/sysinc.h b/include/sysinc.h index 190f2634..34211823 100644 --- a/include/sysinc.h +++ b/include/sysinc.h @@ -288,7 +288,9 @@ #ifdef HAVE_GETOPT_H # ifdef HAVE_GETOPT_LONG -# define _GNU_SOURCE +# if !defined(_GNU_SOURCE) +# define _GNU_SOURCE +# endif # include <getopt.h> # endif #endif |