1
0
Fork 0
mirror of git://git.psyc.eu/libpsyc synced 2024-08-15 03:19:02 +00:00

makefile fixes for solaris

This commit is contained in:
tg(x) 2011-05-08 04:11:36 +02:00
parent a8f35be057
commit 07d7a1626e
3 changed files with 15 additions and 9 deletions

View file

@ -5,7 +5,6 @@
#include "../psyc.h"
#include "./debug.h"
#include <sys/cdefs.h>
#include <assert.h>
/* perlisms for readability */
@ -14,11 +13,11 @@
#define PSYC_NUM_ELEM(a) (sizeof(a) / sizeof(*(a)))
#if !defined(_GNU_SOURCE) && !defined(__FBSDID)
#if !defined(__USE_GNU) && !(defined(__FBSDID) && defined(__BSD_VISIBLE))
void * memmem(const void *l, size_t l_len, const void *s, size_t s_len);
#endif
#if !defined(_GNU_SOURCE) && !defined(__FBSDID)
#if !defined(__USE_GNU) && !(defined(__FBSDID) && defined(__BSD_VISIBLE))
int itoa(int number, char* out, int base);
#endif