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/I18n.cc | |
parent | 6a78695e6ed92f8631b84874dcb754d32fcf99d5 (diff) | |
download | fluxbox-d17bf39a43a7581773c67d496e4022499d59cd26.zip fluxbox-d17bf39a43a7581773c67d496e4022499d59cd26.tar.bz2 |
add autoconf check for std c++ headers
Diffstat (limited to 'src/FbTk/I18n.cc')
-rw-r--r-- | src/FbTk/I18n.cc | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/src/FbTk/I18n.cc b/src/FbTk/I18n.cc index 64abda1..a077758 100644 --- a/src/FbTk/I18n.cc +++ b/src/FbTk/I18n.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: I18n.cc,v 1.2 2004/06/20 15:16:08 rathnor Exp $ | 25 | // $Id: I18n.cc,v 1.3 2004/08/31 15:26:39 rathnor Exp $ |
26 | 26 | ||
27 | /* Note: | 27 | /* Note: |
28 | * A good reference for the older non-gettext style I18n | 28 | * A good reference for the older non-gettext style I18n |
@@ -41,9 +41,21 @@ | |||
41 | 41 | ||
42 | #include <X11/Xlocale.h> | 42 | #include <X11/Xlocale.h> |
43 | 43 | ||
44 | #include <cstdlib> | 44 | #ifdef HAVE_CSTDLIB |
45 | #include <cstring> | 45 | #include <cstdlib> |
46 | #include <cstdio> | 46 | #else |
47 | #include <stdlib.h> | ||
48 | #endif | ||
49 | #ifdef HAVE_CSTRING | ||
50 | #include <cstring> | ||
51 | #else | ||
52 | #include <string.h> | ||
53 | #endif | ||
54 | #ifdef HAVE_CSTDIO | ||
55 | #include <cstdio> | ||
56 | #else | ||
57 | #include <stdio.h> | ||
58 | #endif | ||
47 | 59 | ||
48 | #include <iostream> | 60 | #include <iostream> |
49 | 61 | ||