mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-07-05 22:45:48 -07:00
these are required by thesis and improve 0ad code.
- sysdep/win init/shutdown mechanism is now better documented and
survives clever vc8 optimization
- moved some extern declarations from win_internal into separate headers
main: remove debug_filter_add("LOADER") - was for my debugging
convenience
This was SVN commit r4752.
13 lines
359 B
C
13 lines
359 B
C
#ifndef INCLUDED_SECURE_CRT
|
|
#define INCLUDED_SECURE_CRT
|
|
#if !HAVE_SECURE_CRT
|
|
|
|
extern int sprintf_s(char* buf, size_t max_chars, const char* fmt, ...);
|
|
|
|
typedef int errno_t;
|
|
extern errno_t fopen_s(FILE** pfile, const char* filename, const char* mode);
|
|
|
|
#define fscanf_s fscanf
|
|
|
|
#endif // #if !HAVE_SECURE_CRT
|
|
#endif // #ifndef INCLUDED_SECURE_CRT
|