Added detection of vsscanf and whether or not a prototype exists in headers.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2008-04-02 12:05:27 +00:00
parent 42013f4c28
commit a93cf225f7
5 changed files with 55 additions and 6 deletions

View File

@@ -19,8 +19,11 @@
#include "wx/wxcrtbase.h"
#include "wx/string.h"
#if defined (__VISUALC__) || defined (__DMC__)
#define HAVE_NO_VSSCANF 1
#ifndef __WX_SETUP_H__
// For non-configure builds assume vsscanf is available, if not Visual C or DMC
#if !defined (__VISUALC__) && !defined (__DMC__)
#define HAVE_VSSCANF 1
#endif
#endif
// ============================================================================