diff options
author | fluxgen <fluxgen> | 2002-10-24 11:40:36 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-10-24 11:40:36 (GMT) |
commit | 2f0c8b1c271899d2faa6a475c1872a384c8cf4d3 (patch) | |
tree | f1ca74c9bcd4733db5c106b0a2caf1968331701a /src | |
parent | ef9da86c2786c6720096135d95c3241c4d881221 (diff) | |
download | fluxbox_pavel-2f0c8b1c271899d2faa6a475c1872a384c8cf4d3.zip fluxbox_pavel-2f0c8b1c271899d2faa6a475c1872a384c8cf4d3.tar.bz2 |
use gnu extensions for snprintf
Diffstat (limited to 'src')
-rw-r--r-- | src/XmbFontImp.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/XmbFontImp.cc b/src/XmbFontImp.cc index d5d536b..2a80900 100644 --- a/src/XmbFontImp.cc +++ b/src/XmbFontImp.cc | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: XmbFontImp.cc,v 1.2 2002/10/16 23:31:10 fluxgen Exp $ | 22 | // $Id: XmbFontImp.cc,v 1.3 2002/10/24 11:40:36 fluxgen Exp $ |
23 | 23 | ||
24 | #include "XmbFontImp.hh" | 24 | #include "XmbFontImp.hh" |
25 | 25 | ||
@@ -34,6 +34,11 @@ | |||
34 | #include <locale.h> | 34 | #include <locale.h> |
35 | #endif // HAVE_SETLOCALE | 35 | #endif // HAVE_SETLOCALE |
36 | 36 | ||
37 | #ifndef _GNU_SOURCE | ||
38 | #define _GNU_SOURCE | ||
39 | #endif // _GNU_SOURCE | ||
40 | |||
41 | #include <cstdio> | ||
37 | #include <cstdarg> | 42 | #include <cstdarg> |
38 | #include <iostream> | 43 | #include <iostream> |
39 | using namespace std; | 44 | using namespace std; |