Skip to content
Snippets Groups Projects
Commit bdd13750 authored by Perttu Ahola's avatar Perttu Ahola
Browse files

moved the mac include in porting.cpp out of namespace

parent 748340fa
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "config.h"
#include "debug.h"
#ifdef __APPLE__
#include "CoreFoundation/CoreFoundation.h"
#endif
namespace porting
{
......@@ -214,7 +218,6 @@ void initializePaths()
*/
#elif defined(__APPLE__)
#include <unistd.h>
#include "CoreFoundation/CoreFoundation.h"
// Code based on
// http://stackoverflow.com/questions/516200/relative-paths-not-working-in-xcode-c
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment