Procházet zdrojové kódy

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

Sasha Szpakowski před 3 roky
rodič
revize
b4e9731dfb
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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.