summaryrefslogtreecommitdiffstats
path: root/src/doxygen.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2018-07-07 16:00:20 (GMT)
committeralbert-github <albert.tests@gmail.com>2018-07-07 16:00:20 (GMT)
commit9e29820e9f0207230ac05facb93f414cb5239ae5 (patch)
tree40e51c892310545b3e9362177092add1dfaa92ce /src/doxygen.cpp
parentb0f638cb3a63ba4e73657ed5fd6276e1814391d7 (diff)
downloadDoxygen-9e29820e9f0207230ac05facb93f414cb5239ae5.zip
Doxygen-9e29820e9f0207230ac05facb93f414cb5239ae5.tar.gz
Doxygen-9e29820e9f0207230ac05facb93f414cb5239ae5.tar.bz2
Enable possibility of CLANG for Cygwin
The forward declaring of standard functions is not the best way, better to do it through available standard settings. Setting has to be before that features.h is loaded (the first time).
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r--src/doxygen.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index c5408f0..4aaec34 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -13,6 +13,10 @@
*
*/
+#if !defined(_WIN32) || defined(__CYGWIN__)
+#define _DEFAULT_SOURCE 1
+#endif
+
#include <locale.h>
#include <qfileinfo.h>
@@ -113,10 +117,6 @@ extern void initResources();
#if !defined(_WIN32) || defined(__CYGWIN__)
#include <signal.h>
#define HAS_SIGNALS
-extern "C"
-{
- int killpg(pid_t pgrp, int sig);
-}
#endif
// globally accessible variables