1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-22 20:23:01 +01:00

Improved msvc compatibility

This commit is contained in:
Sean Qureshi 2013-08-28 10:03:21 -07:00
parent 70936935c9
commit 4616aef070

View File

@ -29,7 +29,7 @@
#include <sys/stat.h>
#include <errno.h>
#ifdef WIN32
#ifdef _WIN32
#include <shlobj.h>
#include <direct.h>
#else /* WIN32 */
@ -49,7 +49,7 @@
char *get_user_config_dir(void)
{
char *user_config_dir;
#ifdef __WIN32__
#ifdef _WIN32
#warning Please fix configdir for Win32
return NULL;
#if 0
@ -130,7 +130,7 @@ char *get_user_config_dir(void)
*/
int create_user_config_dir(char *path)
{
#ifdef __WIN32__
#ifdef _WIN32
#warning Please fix configdir for Win32
return -1;
#if 0