Browse Source

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

Sasha Szpakowski 2 years ago
parent
commit
b4e9731dfb
1 changed files with 2 additions and 2 deletions
  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.)
  * in the main bundle (love.app.)
  * Returns an empty string if no love file is found.
  * 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
  * Checks for drop-file events. Returns the filepath if an event occurred, or
  * an empty string otherwise.
  * an empty string otherwise.
  **/
  **/
-std::string checkDropEvents();
+LOVE_EXPORT std::string checkDropEvents();
 
 
 /**
 /**
  * Returns the full path to the executable.
  * Returns the full path to the executable.