Jelajahi Sumber

Extended FilePathSeparator class

- added MAC OS specific preprocessor directive to OS
specific file path separator selection
Patrick 4 tahun lalu
induk
melakukan
06fb1f7a91
1 mengubah file dengan 4 tambahan dan 1 penghapusan
  1. 4 1
      source/io/FilePathSeparator.hpp

+ 4 - 1
source/io/FilePathSeparator.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-15
- * Changed:         2020-08-15
+ * Changed:         2020-08-16
  *
  * */
 
@@ -32,6 +32,9 @@ namespace ls_std {
         #ifdef unix
           separator = ls_std::FilePathSeparator::getLinuxFilePathSeparator();
         #endif
+        #ifdef __APLLE__
+          separator = ls_std::FilePathSeparator::getLinuxFilePathSeparator();
+        #endif
 
         return separator;
       }