summaryrefslogtreecommitdiff
path: root/liboffloadmic/runtime/ofldend.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'liboffloadmic/runtime/ofldend.cpp')
-rw-r--r--liboffloadmic/runtime/ofldend.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/liboffloadmic/runtime/ofldend.cpp b/liboffloadmic/runtime/ofldend.cpp
index 1e522b7f2fa..3cabc1a0003 100644
--- a/liboffloadmic/runtime/ofldend.cpp
+++ b/liboffloadmic/runtime/ofldend.cpp
@@ -1,5 +1,5 @@
/*
- Copyright (c) 2014-2015 Intel Corporation. All Rights Reserved.
+ Copyright (c) 2014-2016 Intel Corporation. All Rights Reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
@@ -30,11 +30,15 @@
#if HOST_LIBRARY
#include "offload_table.h"
+#ifdef MYO_SUPPORT
#include "offload_myo_host.h"
+#endif // MYO_SUPPORT
#else
#include "offload_target.h"
+#ifdef MYO_SUPPORT
#include "offload_myo_target.h"
-#endif
+#endif // MYO_SUPPORT
+#endif // HOST_LIBRARY
#ifdef TARGET_WINNT
#define ALLOCATE(name) __declspec(allocate(name))