diff --git a/include/sb7.h b/include/sb7.h index 6c97c9f..db2317d 100644 --- a/include/sb7.h +++ b/include/sb7.h @@ -26,7 +26,7 @@ #ifndef __SB7_H__ #define __SB7_H__ -#ifdef WIN32 +#ifdef _WIN32 #pragma once #define _CRT_SECURE_NO_WARNINGS 1 @@ -177,7 +177,7 @@ class application virtual void init() { - strcpy(info.title, "OpenGL SuperBible Example"); + strcpy_s(info.title, "OpenGL SuperBible Example"); info.windowWidth = 800; info.windowHeight = 600; #ifdef __APPLE__