Project

Profile

Help

Revision b5a62f2e

Added by O'Neil Delpratt about 2 years ago

Saxon/C bug fix 4317

View differences:

latest9.8/hec/command/Query.c
1 1
#include <jni.h>
2 2

  
3
#ifdef __linux__
3
#if defined __linux__ || defined __APPLE__
4 4
    #include <stdlib.h>
5 5
    #include <string.h>
6 6
    #include <dlfcn.h>
latest9.8/hec/command/Transform.c
1 1
#include <jni.h>
2 2

  
3
#ifdef __linux__
3
#if defined __linux__ || defined __APPLE__
4 4
    #include <stdlib.h>
5 5
    #include <string.h>
6 6
    #include <dlfcn.h>
7 7
    #include <stdio.h>  
8 8
    #define HANDLE void*
9 9
    #define LoadLibrary(x) dlopen(x, RTLD_LAZY)
10
//    #define FreeLibrary(x) dlclose(x, RTLD_LAZY)
11 10
    #define GetProcAddress(x,y) dlsym(x,y)
12 11
#else
13 12
    #include <windows.h>
latest9.8/hec/command/Validate.c
1 1
#include <jni.h>
2 2

  
3
#ifdef __linux__
3
#if defined __linux__ || defined __APPLE__
4 4
    #include <stdlib.h>
5 5
    #include <string.h>
6 6
    #include <dlfcn.h>

Also available in: Unified diff