зеркало из https://github.com/mozilla/gecko-dev.git
Compile this file only if HAVE_SNPRINTF is not defined so that we
won't accidentally override the system's snprintf and vsnprintf functions. This patch is contributed by Soren Juul Moller <sjm@nwc.dk>.
This commit is contained in:
Родитель
0f7aa903bc
Коммит
f5af889ea3
|
@ -1,3 +1,5 @@
|
|||
#ifndef HAVE_SNPRINTF
|
||||
|
||||
#include "watcomfx.h"
|
||||
#include <sys/types.h>
|
||||
#include <stddef.h>
|
||||
|
@ -64,3 +66,5 @@ vsnprintf(str, n, fmt, ap)
|
|||
return (vsprintf(str, fmt, ap));
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif /* HAVE_SNPRINTF */
|
||||
|
|
Загрузка…
Ссылка в новой задаче