Hi Mindaugas,
#if defined(_LP64) || defined(__LP64__) || defined(__arch64__)
or: #if defined( HB_ARCH_64BIT )
typedef unsigned int FB_API_HANDLE; #else typedef void* FB_API_HANDLE; #endif typedef FB_API_HANDLE isc_db_handle; What is correct way to initialize handler? isc_db_handle db = NULL; // wrong on 64bits isc_db_handle db = 0; // wrong on 32bits
Probably some clever macros :) Maybe there is something already defined in FB headers. After all they should also need something like this. Brgds, Viktor _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour