Selaa lähdekoodia

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

Sasha Szpakowski 2 vuotta sitten
vanhempi
commit
b4e9731dfb
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  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.