Opened 10 years ago

Closed 10 years ago

#2105 closed defect (fixed)

gosmore does not compile under FreeBSD

Reported by: phicoh Owned by: ddean@…
Priority: major Milestone:
Component: gosmore Version:
Keywords: Cc:

Description

Gosmore does not compile under FreeBSD because fopen64 is used in libgosm.cpp which does not exist in FreeBSD.

The attached patch #defines fopen64 as fopen under FreeBSD, this code was already present in gosmore.cpp

Attachments (1)

y.diff (893 bytes) - added by phicoh 10 years ago.

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by phicoh

Attachment: y.diff added

comment:1 Changed 10 years ago by phicoh

New patch. Moved #define to libgosm.h, removed #define from gosmore.cpp

comment:2 Changed 10 years ago by lambertus

(In [16704]) Added patch to get Gosmore compiled under FreeBSD/Apple (refs #2105)

comment:3 Changed 10 years ago by lambertus

(In [16705]) Complete the move of FreeBSD's definition of fopen64 from gosmore.cpp to libgosmore.h (refs #2105)

comment:4 Changed 10 years ago by Lambertus

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.