Guard new includes.

This commit is contained in:
Alex Voicu
2018-10-18 12:29:27 +01:00
parent fe959f7bd7
commit e66a75ea55
4 changed files with 22 additions and 5 deletions
+7 -2
View File
@@ -26,8 +26,13 @@ THE SOFTWARE.
// which can only be used on the device. The programmer has full control
// over when data is copied.
#include <hc/hc.hpp>
#include <hc/hc_am.hpp>
#if defined(HC_NEXT)
#include <hc/hc.hpp>
#include <hc/hc_am.hpp>
#else
#include <hc.hpp>
#include <hc_am.hpp>
#endif
int main(int argc, char* argv[]) {
int sizeElements = 1000000;