-#ifdef cpExtensions_SYS_WINDOWS
-# define cpExtensions_STRTOK( A, B, N ) strtok_s( A, B, N )
-#else // cpExtensions_SYS_WINDOWS
-# define cpExtensions_STRTOK( A, B, N ) std::strtok( A, B )
-#endif // cpExtensions_SYS_WINDOWS
+#ifdef cpExtensions_OS_Windows
+# define cpExtensions_STRTOK( A, B, N ) strtok_s( A, B, N )
+# define cpExtensions_SPRINTF( B, S, O ) sprintf_s( B, S, "%s", O );
+#else // cpExtensions_OS_Windows
+# define cpExtensions_STRTOK( A, B, N ) std::strtok( A, B )
+# define cpExtensions_SPRINTF( B, S, O ) std::sprintf( B, "%s", O );
+#endif // cpExtensions_OS_Windows