mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
public: make crtlib linkable with C++
This commit is contained in:
parent
5350d88f57
commit
a9c82dbe21
@ -21,6 +21,11 @@ GNU General Public License for more details.
|
|||||||
#include "build.h"
|
#include "build.h"
|
||||||
#include "xash3d_types.h"
|
#include "xash3d_types.h"
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C"
|
||||||
|
{
|
||||||
|
#endif
|
||||||
|
|
||||||
// timestamp modes
|
// timestamp modes
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
@ -145,5 +150,8 @@ static inline char *Q_stristr( const char *s1, const char *s2 )
|
|||||||
char *Q_stristr( const char *s1, const char *s2 );
|
char *Q_stristr( const char *s1, const char *s2 );
|
||||||
#endif // defined( HAVE_STRCASESTR )
|
#endif // defined( HAVE_STRCASESTR )
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif//STDLIB_H
|
#endif//STDLIB_H
|
||||||
|
Loading…
x
Reference in New Issue
Block a user