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/FbTk/Menu.cc | |
parent | 6a78695e6ed92f8631b84874dcb754d32fcf99d5 (diff) | |
download | fluxbox_pavel-d17bf39a43a7581773c67d496e4022499d59cd26.zip fluxbox_pavel-d17bf39a43a7581773c67d496e4022499d59cd26.tar.bz2 |
add autoconf check for std c++ headers
Diffstat (limited to 'src/FbTk/Menu.cc')
-rw-r--r-- | src/FbTk/Menu.cc | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc index e03d783..b38ae73 100644 --- a/src/FbTk/Menu.cc +++ b/src/FbTk/Menu.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Menu.cc,v 1.78 2004/08/30 10:23:37 akir Exp $ | 25 | // $Id: Menu.cc,v 1.79 2004/08/31 15:26:39 rathnor Exp $ |
26 | 26 | ||
27 | //use GNU extensions | 27 | //use GNU extensions |
28 | #ifndef _GNU_SOURCE | 28 | #ifndef _GNU_SOURCE |
@@ -48,9 +48,21 @@ | |||
48 | #include <X11/Xatom.h> | 48 | #include <X11/Xatom.h> |
49 | #include <X11/keysym.h> | 49 | #include <X11/keysym.h> |
50 | 50 | ||
51 | #include <cstdio> | 51 | #ifdef HAVE_CSTDIO |
52 | #include <cstdlib> | 52 | #include <cstdio> |
53 | #include <cstring> | 53 | #else |
54 | #include <stdio.h> | ||
55 | #endif | ||
56 | #ifdef HAVE_CSTDLIB | ||
57 | #include <cstdlib> | ||
58 | #else | ||
59 | #include <stdlib.h> | ||
60 | #endif | ||
61 | #ifdef HAVE_CSTRING | ||
62 | #include <cstring> | ||
63 | #else | ||
64 | #include <string.h> | ||
65 | #endif | ||
54 | #include <iostream> | 66 | #include <iostream> |
55 | #include <typeinfo> | 67 | #include <typeinfo> |
56 | 68 | ||