13
0

Temporary OSX/Clang/C++11 workaround

- Adds a directive that includes <vector> upon specific conditions
- WIP
This commit is contained in:
Michael R. Fisher 2013-07-15 16:53:55 -05:00 committed by Paul Davis
parent 636a8f0eda
commit ea08feec48

View File

@ -20,6 +20,14 @@
#ifndef __libmisc_stl_delete_h__
#define __libmisc_stl_delete_h__
#if __clang__ && __APPLE__ && __cplusplus >= 201103L
#include <vector>
#ifndef _CPP_VECTOR
#define _CPP_VECTOR
#endif
#endif
/* To actually use any of these deletion functions, you need to
first include the revelant container type header.
*/