mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
Patch for gcc 3.x.y.
This commit is contained in:
parent
be1540f3dc
commit
52828bf84a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=65715
14
devel/fam/files/patch-fam-Scheduler.h
Normal file
14
devel/fam/files/patch-fam-Scheduler.h
Normal file
@ -0,0 +1,14 @@
|
||||
--- fam/Scheduler.h~ Tue Jul 16 02:14:41 2002
|
||||
+++ fam/Scheduler.h Fri Sep 6 03:46:29 2002
|
||||
@@ -105,7 +105,11 @@
|
||||
// for the corresponding I/O type.
|
||||
|
||||
struct IOTypeInfo {
|
||||
+#if defined(__FreeBSD__) && defined(__GNUC__) && (__GNUC__ > 2)
|
||||
+ FDInfo::FDIOHandler FDInfo::*iotype;
|
||||
+#else
|
||||
FDInfo::FDIOHandler FDInfo::*const iotype;
|
||||
+#endif
|
||||
unsigned int nbitsset; // number of bits set in fds
|
||||
fd_set fds;
|
||||
IOTypeInfo(FDInfo::FDIOHandler FDInfo::* a_iotype) :
|
Loading…
Reference in New Issue
Block a user