Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Preliminary) Solaris/SunOS support #113

Merged

Conversation

Hamcha
Copy link
Member

@Hamcha Hamcha commented Jul 15, 2014

This compiles on SmartOS (SunOS / illumos) using GCC 4.7.
Clang complains about "madvise" not being "posix.madvise" but I don't have any "elegant" solution to fix that for now (and it fails linking afterwards because of conflicts anyway.. I think clang on SunOS is just broken).

Tests fail but it's intended apparently.
The frontend works fine.

As we discussed on IRC, we should evaluate doing a sun.mk override makefile, but we can do that later.

Part of #112

@Hamcha Hamcha changed the title (Preliminary) Solaris support (Preliminary) Solaris/SunOS support Jul 15, 2014
@@ -172,7 +172,7 @@ int ol_unjar_ds(ol_database *db, const char *key, size_t klen, unsigned char **d
* xXx *value=The value to insert. xXx
* xXx vsize=The size of the value in bytes. xXx
*/
int ol_jar(ol_database *db, const char *key, size_t klen, unsigned char *value, size_t vsize);
int ol_jar(ol_database *db, const char *key, size_t klen, unsigned char* value, size_t vsize);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MOVING MY ASTERISKS AROUND BRO?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't notice that, woah.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you git commit -p?

qpfiffer added a commit that referenced this pull request Jul 16, 2014
(Preliminary) Solaris/SunOS support
@qpfiffer qpfiffer merged commit 7925967 into infoforcefeed:feature/112_multiplatform_support Jul 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants