aboutsummaryrefslogtreecommitdiff
path: root/libxsde/xsde/cxx/config.hxx
blob: 10609581e2dde006eb3792b8eff4461d6e1593e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// file      : xsde/cxx/config.hxx
// copyright : Copyright (c) 2005-2011 Code Synthesis Tools CC
// license   : GNU GPL v2 + exceptions; see accompanying LICENSE file

#ifndef XSDE_CXX_CONFIG_HXX
#define XSDE_CXX_CONFIG_HXX

#include <xsde/config.h>

// Macro to suppress unused variable warning.
//
#define XSDE_UNUSED(x) (void)x

// Using strtof appears to be highly non-portable.
//
#undef XSDE_STRTOF

// The snprintf function on Win32 and WinCE is called _snprintf.
//
#ifdef XSDE_SNPRINTF
#  if defined(XSDE_PLATFORM_WIN32) || defined(XSDE_PLATFORM_WINCE)
#    define snprintf _snprintf
#  endif
#endif

#endif // XSDE_CXX_CONFIG_HXX