Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix adding support for FreeBSD for issue #10 #17

Merged
merged 1 commit into from

2 participants

@jfroffice

Thank you to integrate this patch

@mikedeboer mikedeboer merged commit 1a69562 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 15, 2012
  1. @jfroffice

    Fix add support for FreeBSD

    jfroffice authored
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 0 deletions.
  1. +2 −0  include/cSys_posix.h
  2. +2 −0  include/config.h
View
2  include/cSys_posix.h
@@ -559,7 +559,9 @@ o3_cls(cSys);
struct cSys : cSysBase {
int fd;
size_t m_overall;
+#if !defined(__FreeBSD__)
struct sockaddr_in addr;
+#endif
FILE* file;
cSys()
View
2  include/config.h
@@ -32,6 +32,8 @@
#elif defined(sun)
#define O3_SOLARIS
#define O3_LINUX
+#elif defined(__FreeBSD__)
+#define O3_LINUX
#endif
#define O3_AUTO_CAPACITY 11
Something went wrong with that request. Please try again.