Use preprocessor to exclude platform specify code instead of cmake
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
// clang-format off
|
||||
#ifndef NOVA_API
|
||||
#ifdef NOVA_WINDOWS
|
||||
#ifdef NOVA_DLL_EXPORT
|
||||
@@ -23,3 +24,4 @@
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
// clang-format on
|
||||
|
||||
Reference in New Issue
Block a user