Skip to content

Commit

Permalink
ios and mac defines for bind
Browse files Browse the repository at this point in the history
  • Loading branch information
pdehne committed Apr 11, 2012
1 parent 20492f6 commit 2d21300
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
6 changes: 6 additions & 0 deletions include/vf/modules/vf_core/functor/vf_Bind.h
Expand Up @@ -27,4 +27,10 @@ using std::bind;
using std::placeholders::_1; using std::placeholders::_1;
#endif #endif


#if defined JUCE_IOS || defined JUCE_MAC
using std::tr1::bind;
using std::tr1::function;
using namespace std::tr1::placeholders;
#endif

#endif #endif
6 changes: 5 additions & 1 deletion include/vf/modules/vf_core/vf_core.h
Expand Up @@ -166,6 +166,11 @@ using juce::uint8;


#if JUCE_MSVC #if JUCE_MSVC
#include <crtdbg.h> #include <crtdbg.h>
#include <functional>
#endif

#if defined JUCE_IOS || defined JUCE_MAC
#include <tr1/functional>
#endif #endif


#include <algorithm> #include <algorithm>
Expand All @@ -174,7 +179,6 @@ using juce::uint8;
#include <cstdarg> #include <cstdarg>
#include <cstddef> #include <cstddef>
#include <exception> #include <exception>
#include <functional>
#include <istream> #include <istream>
#include <iterator> #include <iterator>
#include <limits> #include <limits>
Expand Down

0 comments on commit 2d21300

Please sign in to comment.