Commit 1a7471f0 authored by Florian Kaltenberger's avatar Florian Kaltenberger

bugfixes for 64bit


git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6966 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 6a5105a3
...@@ -4,7 +4,7 @@ SRC = dump_size.c ...@@ -4,7 +4,7 @@ SRC = dump_size.c
#CFLAGS = $(shell rtai-config --lxrt-cflags) #CFLAGS = $(shell rtai-config --lxrt-cflags)
#LDFLAGS = $(shell rtai-config --lxrt-ldflags) -lpthread -lm -lgps -lforms #-llxrt #LDFLAGS = $(shell rtai-config --lxrt-ldflags) -lpthread -lm -lgps -lforms #-llxrt
CFLAGS += -m32 -I$(OPENAIR1_DIR) -I$(OPENAIR2_DIR)/RRC/LITE/MESSAGES -I$(OPENAIR_HOME)/common/utils -I$(OPENAIR2_DIR) -I$(OPENAIR2_DIR)/COMMON CFLAGS += -I$(OPENAIR1_DIR) -I$(OPENAIR2_DIR)/RRC/LITE/MESSAGES -I$(OPENAIR_HOME)/common/utils -I$(OPENAIR2_DIR) -I$(OPENAIR2_DIR)/COMMON
CFLAGS += -DPHYSIM -DNODE_RG -DUSER_MODE -DPC_TARGET -DPC_DSP -DNB_ANTENNAS_RX=2 -DNB_ANTENNAS_TXRX=2 -DNB_ANTENNAS_TX=2 -DPHY_CONTEXT=1 CFLAGS += -DPHYSIM -DNODE_RG -DUSER_MODE -DPC_TARGET -DPC_DSP -DNB_ANTENNAS_RX=2 -DNB_ANTENNAS_TXRX=2 -DNB_ANTENNAS_TX=2 -DPHY_CONTEXT=1
......
...@@ -159,8 +159,8 @@ ELEMENT_ATTRIBUTES MatlabCStruct(const mxArray *pArray, int MemoryAlignment, int ...@@ -159,8 +159,8 @@ ELEMENT_ATTRIBUTES MatlabCStruct(const mxArray *pArray, int MemoryAlignment, int
case mxUINT8_CLASS : Attributes.ElementSize = sizeof(unsigned char); break; case mxUINT8_CLASS : Attributes.ElementSize = sizeof(unsigned char); break;
case mxINT16_CLASS : Attributes.ElementSize = sizeof(short); break; case mxINT16_CLASS : Attributes.ElementSize = sizeof(short); break;
case mxUINT16_CLASS : Attributes.ElementSize = sizeof(unsigned short); break; case mxUINT16_CLASS : Attributes.ElementSize = sizeof(unsigned short); break;
case mxINT32_CLASS : Attributes.ElementSize = sizeof(long); break; case mxINT32_CLASS : Attributes.ElementSize = sizeof(int); break;
case mxUINT32_CLASS : Attributes.ElementSize = sizeof(unsigned long); break; case mxUINT32_CLASS : Attributes.ElementSize = sizeof(unsigned int); break;
// case mxINT64_CLASS : Attributes.ElementSize = sizeof(__int64); break; // case mxINT64_CLASS : Attributes.ElementSize = sizeof(__int64); break;
case mxINT64_CLASS : Attributes.ElementSize = sizeof(INT64_T); break; // jaj 05/24/2004 case mxINT64_CLASS : Attributes.ElementSize = sizeof(INT64_T); break; // jaj 05/24/2004
default: mexErrMsgTxt("Unknown MX class"); default: mexErrMsgTxt("Unknown MX class");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment