pcb 4.1.1
An interactive printed circuit board layout editor.

compat.h

Go to the documentation of this file.
00001 
00029 #ifndef PCB_COMPAT_H
00030 #define PCB_COMPAT_H
00031 
00032 #ifdef HAVE_CONFIG_H
00033 #include "config.h"
00034 #endif
00035 
00036 #include <math.h>
00037 
00038 #ifndef HAVE_EXPF
00039 float expf (float);
00040 #endif
00041 
00042 #ifndef HAVE_LOGF
00043 float logf (float);
00044 #endif
00045 
00046 #ifndef HAVE_RANDOM
00047 long random (void);
00048 #endif
00049 
00050 #if !defined(HAVE_DLFCN_H) && defined(WIN32)
00051 void * dlopen (const char *, int);
00052 void dlclose (void *);
00053 char * dlerror (void);
00054 
00055 void * dlsym(void *, const char *);
00056 
00057 #define RTLD_NOW 2
00058 #define RTLD_LOCAL 0
00059 #define RTLD_GLOBAL 4
00060 
00061 #endif
00062 
00063 
00064 #endif /* PCB_COMPAT_H */
00065