fixes building in Mac OS X (I hope so)
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
#ifndef SPECIAL_DIRS_H
|
||||
#define SPECIAL_DIRS_H
|
||||
|
||||
RString SpecialDirs::GetDesktopDir();
|
||||
namespace SpecialDirs
|
||||
{
|
||||
RString GetDesktopDir();
|
||||
};
|
||||
|
||||
#endif
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user