summaryrefslogtreecommitdiff
path: root/indra/llcommon/llpreprocessor.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llcommon/llpreprocessor.h')
-rw-r--r--indra/llcommon/llpreprocessor.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/llcommon/llpreprocessor.h b/indra/llcommon/llpreprocessor.h
index 8fa171c482..aaecbf3ddc 100644
--- a/indra/llcommon/llpreprocessor.h
+++ b/indra/llcommon/llpreprocessor.h
@@ -62,9 +62,9 @@
#endif
// Deal with the differeneces on Windows
-#if defined(LL_WINDOWS)
-#define snprintf _snprintf /*Flawfinder: ignore*/
-#endif // LL_WINDOWS
+#if LL_WINDOWS
+#define snprintf safe_snprintf /* Flawfinder: ignore */
+#endif // LL_WINDOWS
// Static linking with apr on windows needs to be declared.
#ifdef LL_WINDOWS