Project

Profile

Help

Revision 08c871b9

Added by O'Neil Delpratt almost 6 years ago

Bug fixes including #2636

View differences:

latest9.6/hec/Saxon.C.API/64-bit-code/HEC/SaxonCGlue.c
19 19
		strncat(resources_dir, env,  env_len);
20 20
		strncat(resources_dir, "/saxon-data", rDir_len);
21 21
		strncat(dllname, env, env_len);
22
		strncat(dllname, "/libsaxon-hec.so", name_len); //rename according to product edition (-hec or -pec)
22
#ifdef __linux__
23
        strncat(dllname, "/libsaxon-hec.so", name_len); //rename according to product edition (-hec or -pec)
24
#elif  defined (__APPLE__) && defined(__MACH__)
25
        strncat(dllname, "/libsaxon-hec.dylib", name_len);
26
#else
27

  
28
#endif
29
        
30
		
23 31
#ifdef DEBUG	
24 32
		printf("resources_dir: %s\n", resources_dir);	
25 33
		printf("envDir: %s\n", env);

Also available in: Unified diff