summaryrefslogtreecommitdiff
path: root/math/scilab/files/patch-modules_fileio_includes_os__wfopen.h
blob: cd26f5ec35b037f29dd210f870f25d1fc3fa42bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- modules/fileio/includes/os_wfopen.h.orig	2020-02-25 09:59:50 UTC
+++ modules/fileio/includes/os_wfopen.h
@@ -25,7 +25,7 @@
 #endif
 
 // Linux
-#ifdef __linux__
+#if defined(__linux__) || defined(__FreeBSD__)
 #define os_wfopen       linux_fopen
 FILE* linux_fopen(const wchar_t* _pstFilename, const wchar_t* _pstMode);
 #endif