[go: up one dir, main page]

Menu

#599 Compile issue under FreeBSD

SVN
closed-accepted
nobody
None
5
2011-09-25
2011-09-24
Anonymous
No

The latest SVN version seems unable to compile under FreeBSD8.2-RELEASE.
Tracked the issue down to src/vsfilesystem.cpp at line 92 there is the following:

#if defined (__FreeBSD__) || defined (__APPLE__)
int selectdirs( struct dirent *entry )
#else
int selectdirs( const struct dirent * entry )
#endif

Changing this to the following seems to make it compile:

#if defined (__APPLE__)
int selectdirs( struct dirent *entry )
#else
int selectdirs( const struct dirent * entry )
#endif

Thanks.

Discussion

  • Klauss++

    Klauss++ - 2011-09-25
    • status: open --> closed-accepted
     
  • Klauss++

    Klauss++ - 2011-09-25

    Nice catch, I'm committing the fix, assuming it will fix it for most BSDs out there.
    If any other BSD release breaks, please post a comment and we'll look for a solution to please all.

     

Anonymous
Anonymous

Add attachments
Cancel