kopia lustrzana https://github.com/Hamlib/Hamlib
Another attempt to get testrigcaps to recognize compiler differences
rodzic
fbce397f3b
commit
39e4aad778
|
@ -13,10 +13,10 @@ int main()
|
|||
void *p2 = &rig->state.vfo_list;
|
||||
unsigned long offset = p2 - p1;
|
||||
printf("offset vfo_list=%ld\n", offset);
|
||||
#if defined(__MINGW32__)
|
||||
int expected = 10144; // mingw32
|
||||
#elif defined(__MINGW64__)
|
||||
#if defined(WIN64) || defined (_WIN64) || defined (__WIN64__)
|
||||
int expected = 13264; // mingw64
|
||||
#elif defined(WIN32) || defined (_WIN32) || defined(__WIN32__)
|
||||
int expected = 10144; // mingw32
|
||||
#else
|
||||
int expected = 13280; // should be most 64-bit compilers
|
||||
#endif
|
||||
|
@ -32,10 +32,10 @@ int main()
|
|||
offset = p2 - p1;
|
||||
printf("offset power_max=%ld\n", offset);
|
||||
|
||||
#if defined(__MINGW32__)
|
||||
expected = 10448; // mingw32
|
||||
#elif defined(__MINGW64__)
|
||||
#if defined(WIN64) || defined (_WIN64) || defined (__WIN64__)
|
||||
expected = 13664; // mingw64
|
||||
#elif defined(WIN32) || defined (_WIN32) || defined(__WIN32__)
|
||||
expected = 10448; // mingw32
|
||||
#else
|
||||
expected = 13696;
|
||||
#endif
|
||||
|
|
Ładowanie…
Reference in New Issue