X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b9909c6eb689ca97005005429ed908166cd46d8e..f9d6e4e454ac06b3303c71081b289152c8867ec1:/include/wx/wxcrt.h diff --git a/include/wx/wxcrt.h b/include/wx/wxcrt.h index 04b5fa6e4d..6383a0f5d3 100644 --- a/include/wx/wxcrt.h +++ b/include/wx/wxcrt.h @@ -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 // ============================================================================