fixes building in Mac OS X (I hope so)

This commit is contained in:
Thai Pangsakulyanont
2011-08-29 00:11:10 +07:00
parent 68ac5fa87c
commit cbcf955fe8
3 changed files with 18 additions and 2 deletions
+5
View File
@@ -1,6 +1,9 @@
#include "global.h"
#include "SpecialDirs.h"
#include "ProductInfo.h"
#include <CoreServices/CoreServices.h>
#include <IOKit/IOKitLib.h>
#include "RageUtil.h"
static void PathForFolderType( char dir[PATH_MAX], OSType folderType )
{
@@ -19,6 +22,8 @@ RString SpecialDirs::GetDesktopDir()
return RString( ssprintf("%s/" PRODUCT_ID, dir) );
}
/*
* (c) 2011 AJ Kelly
* All rights reserved.
+4 -1
View File
@@ -1,7 +1,10 @@
#ifndef SPECIAL_DIRS_H
#define SPECIAL_DIRS_H
RString SpecialDirs::GetDesktopDir();
namespace SpecialDirs
{
RString GetDesktopDir();
};
#endif
/*