diff options
author | rathnor <rathnor> | 2004-08-31 15:26:40 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2004-08-31 15:26:40 (GMT) |
commit | d17bf39a43a7581773c67d496e4022499d59cd26 (patch) | |
tree | 89e964e0e9a207d726e4ffefb88b19c51c591817 /src/tests | |
parent | 6a78695e6ed92f8631b84874dcb754d32fcf99d5 (diff) | |
download | fluxbox_paul-d17bf39a43a7581773c67d496e4022499d59cd26.zip fluxbox_paul-d17bf39a43a7581773c67d496e4022499d59cd26.tar.bz2 |
add autoconf check for std c++ headers
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/Resourcetest.cc | 6 | ||||
-rw-r--r-- | src/tests/signaltest.cc | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/src/tests/Resourcetest.cc b/src/tests/Resourcetest.cc index f82c4b4..99dfc54 100644 --- a/src/tests/Resourcetest.cc +++ b/src/tests/Resourcetest.cc | |||
@@ -28,7 +28,11 @@ | |||
28 | 28 | ||
29 | #include <string> | 29 | #include <string> |
30 | #include <iostream> | 30 | #include <iostream> |
31 | #include <cstdio> | 31 | #ifdef HAVE_CSTDIO |
32 | #include <cstdio> | ||
33 | #else | ||
34 | #include <stdio.h> | ||
35 | #endif | ||
32 | 36 | ||
33 | using namespace std; | 37 | using namespace std; |
34 | 38 | ||
diff --git a/src/tests/signaltest.cc b/src/tests/signaltest.cc index ef7643f..cc838b0 100644 --- a/src/tests/signaltest.cc +++ b/src/tests/signaltest.cc | |||
@@ -22,7 +22,11 @@ | |||
22 | #include "../FbTk/SignalHandler.hh" | 22 | #include "../FbTk/SignalHandler.hh" |
23 | 23 | ||
24 | #include <iostream> | 24 | #include <iostream> |
25 | #include <cassert> | 25 | #ifdef HAVE_CASSERT |
26 | #include <cassert> | ||
27 | #else | ||
28 | #include <assert.h> | ||
29 | #endif | ||
26 | 30 | ||
27 | using namespace std; | 31 | using namespace std; |
28 | using namespace FbTk; | 32 | using namespace FbTk; |