Skip to content

Commit

Permalink
Rename xr_impexp_macros.h -> ImportExportMacros.inl
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY committed Nov 9, 2017
1 parent b92f0af commit a07ace1
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/Common/Common.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@
<ClInclude Include="PlatformLinux.inl" />
<ClInclude Include="PlatformWindows.inl" />
<ClInclude Include="Util.hpp" />
<ClInclude Include="xr_impexp_macros.h" />
<ClInclude Include="ImportExportMacros.inl" />
<ClInclude Include="_d3d_extensions.h" />
</ItemGroup>
<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Common/Common.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<ClInclude Include="..\xrCommon\xr_deque.h">
<Filter>xrCommon</Filter>
</ClInclude>
<ClInclude Include="xr_impexp_macros.h">
<ClInclude Include="ImportExportMacros.inl">
<Filter>Platform</Filter>
</ClInclude>
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Common/Compiler.inl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <intrin.h> // for __debugbreak
#endif

#include "xr_impexp_macros.h"
#include "Common/ImportExportMacros.inl"
#include "xrCommon/inlining_macros.h"

#if defined(__GNUC__)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#pragma once
#ifndef XR_IMPEXP_MACROS_H
#define XR_IMPEXP_MACROS_H

#if defined(__GNUC__)
#define XR_EXPORT __attribute__ ((visibility("default")))
Expand All @@ -9,5 +7,3 @@
#define XR_EXPORT __declspec(dllexport)
#define XR_IMPORT __declspec(dllimport)
#endif

#endif
2 changes: 1 addition & 1 deletion src/xrCore/xrCore_impexp.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once
#ifndef XRCORE_IMPEXP_H
#define XRCORE_IMPEXP_H
#include "Common/xr_impexp_macros.h"
#include "Common/ImportExportMacros.inl"

#ifdef XRCORE_EXPORTS
#define XRCORE_API XR_EXPORT
Expand Down

0 comments on commit a07ace1

Please sign in to comment.