소스 검색

Add LOVE_EXPORT to a couple macOS functions called from the exe.

Sasha Szpakowski 3 년 전
부모
커밋
b4e9731dfb
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/common/macosx.h

+ 2 - 2
src/common/macosx.h

@@ -37,13 +37,13 @@ namespace macosx
  * in the main bundle (love.app.)
  * Returns an empty string if no love file is found.
  **/
-std::string getLoveInResources();
+LOVE_EXPORT std::string getLoveInResources();
 
 /**
  * Checks for drop-file events. Returns the filepath if an event occurred, or
  * an empty string otherwise.
  **/
-std::string checkDropEvents();
+LOVE_EXPORT std::string checkDropEvents();
 
 /**
  * Returns the full path to the executable.