freebsd-ports/textproc/openvanilla-modules/files/extra-patch-Modules-SharedSource-OVCINInfo.cpp
Pawel Pekala b762b850f6 Fix build when ${OSVERSION} >= 800501
PR:             ports/167663
Submitted by:   Po-Chien Lin <linpc@cs.nctu.edu.tw>
2012-05-11 19:27:22 +00:00

11 lines
No EOL
379 B
C++

--- Modules/SharedSource/OVCINInfo.cpp.orig 2012-05-06 21:47:52.000000000 +0800
+++ Modules/SharedSource/OVCINInfo.cpp 2012-05-06 22:02:40.000000000 +0800
@@ -67,7 +67,7 @@
}
#ifndef WIN32
- #ifdef __linux__
+ #if defined (__linux__) || defined (__FreeBSD__)
int CLFileSelect(const struct dirent *entry)
#else
int CLFileSelect(struct dirent *entry)