Explorar o código

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

Sasha Szpakowski %!s(int64=3) %!d(string=hai) anos
pai
achega
b4e9731dfb
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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.