mirror of
https://github.com/gqrx-sdr/gqrx.git
synced 2024-09-21 18:57:10 +00:00
Issue #20: Fix Arissat TLM headers so that they work on Linux too.
This commit is contained in:
parent
c3b9e35a71
commit
baec301927
@ -95,7 +95,9 @@ typedef signed int s32;
|
||||
typedef signed long long s64;
|
||||
#endif
|
||||
|
||||
#if defined(_MSC_VER) || defined (_WIN32)
|
||||
#define _LIN
|
||||
|
||||
#if defined(_LIN) || defined (_WIN32)
|
||||
/*
|
||||
* Type definitions for IA32 Architecture,
|
||||
* Using the Microsoft C compiler
|
||||
@ -106,7 +108,7 @@ typedef signed long long s64;
|
||||
#define PACKED __attribute__ ((packed))
|
||||
#endif
|
||||
|
||||
typedef unsigned char bool;
|
||||
//typedef unsigned char bool;
|
||||
typedef unsigned char u8;
|
||||
typedef unsigned short u16;
|
||||
typedef unsigned int u32;
|
||||
|
@ -16,7 +16,7 @@
|
||||
#define False 0
|
||||
|
||||
// Call out the basic defined types, defined to be the same across multiple compilers
|
||||
#include "common/ss_stdint.h"
|
||||
#include "tlm/arissat/ss_stdint.h"
|
||||
|
||||
#define PERCENT_100 (100*2)
|
||||
#define PERCENT_75 (75*2)
|
||||
|
Loading…
Reference in New Issue
Block a user