Build fix for linux. sprintf_s does not exist in linux. Does it in windows?

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5132 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice 2010-02-25 12:35:31 +00:00
parent 7f5a10222e
commit f1ed7e5656
4 changed files with 12 additions and 12 deletions

View File

@ -145,12 +145,12 @@ void GetDllInfo(PLUGIN_INFO* _PluginInfo)
_PluginInfo->Version = 0x0100;
_PluginInfo->Type = PLUGIN_TYPE_DSP;
#ifdef DEBUGFAST
sprintf_s(_PluginInfo->Name, 100, "Dolphin DSP-HLE Plugin (DebugFast) ");
sprintf(_PluginInfo->Name, "Dolphin DSP-HLE Plugin (DebugFast) ");
#else
#ifndef _DEBUG
sprintf_s(_PluginInfo->Name, 100, "Dolphin DSP-HLE Plugin ");
sprintf(_PluginInfo->Name, "Dolphin DSP-HLE Plugin ");
#else
sprintf_s(_PluginInfo->Name, 100, "Dolphin DSP-HLE Plugin (Debug) ");
sprintf(_PluginInfo->Name, "Dolphin DSP-HLE Plugin (Debug) ");
#endif
#endif
}

View File

@ -115,12 +115,12 @@ void GetDllInfo(PLUGIN_INFO* _PluginInfo)
_PluginInfo->Type = PLUGIN_TYPE_DSP;
#ifdef DEBUGFAST
sprintf_s(_PluginInfo->Name, "Dolphin DSP-LLE Plugin (DebugFast)");
sprintf(_PluginInfo->Name, "Dolphin DSP-LLE Plugin (DebugFast)");
#else
#ifndef _DEBUG
sprintf_s(_PluginInfo->Name, "Dolphin DSP-LLE Plugin");
sprintf(_PluginInfo->Name, "Dolphin DSP-LLE Plugin");
#else
sprintf_s(_PluginInfo->Name, "Dolphin DSP-LLE Plugin (Debug)");
sprintf(_PluginInfo->Name, "Dolphin DSP-LLE Plugin (Debug)");
#endif
#endif
}

View File

@ -118,11 +118,11 @@ void GetDllInfo (PLUGIN_INFO* _PluginInfo)
_PluginInfo->Version = 0x0100;
_PluginInfo->Type = PLUGIN_TYPE_VIDEO;
#ifdef DEBUGFAST
sprintf_s(_PluginInfo->Name, "Dolphin OpenGL (DebugFast)");
sprintf(_PluginInfo->Name, "Dolphin OpenGL (DebugFast)");
#elif defined _DEBUG
sprintf_s(_PluginInfo->Name, "Dolphin OpenGL (Debug)");
sprintf(_PluginInfo->Name, "Dolphin OpenGL (Debug)");
#else
sprintf_s(_PluginInfo->Name, "Dolphin OpenGL");
sprintf(_PluginInfo->Name, "Dolphin OpenGL");
#endif
}

View File

@ -136,12 +136,12 @@ void GetDllInfo(PLUGIN_INFO* _PluginInfo)
_PluginInfo->Version = 0x0100;
_PluginInfo->Type = PLUGIN_TYPE_WIIMOTE;
#ifdef DEBUGFAST
sprintf_s(_PluginInfo->Name, "Dolphin Wiimote Plugin (DebugFast)");
sprintf(_PluginInfo->Name, "Dolphin Wiimote Plugin (DebugFast)");
#else
#ifndef _DEBUG
sprintf_s(_PluginInfo->Name, "Dolphin Wiimote Plugin");
sprintf(_PluginInfo->Name, "Dolphin Wiimote Plugin");
#else
sprintf_s(_PluginInfo->Name, "Dolphin Wiimote Plugin (Debug)");
sprintf(_PluginInfo->Name, "Dolphin Wiimote Plugin (Debug)");
#endif
#endif
}