Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
openairinterface5G
Commits
1a7471f0
Commit
1a7471f0
authored
Apr 01, 2015
by
Florian Kaltenberger
Browse files
bugfixes for 64bit
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@6966
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
6a5105a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
openair1/EMOS/LTE/IMPORT_FILTER/Makefile
View file @
1a7471f0
...
...
@@ -4,7 +4,7 @@ SRC = dump_size.c
#CFLAGS = $(shell rtai-config --lxrt-cflags)
#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
...
...
openair1/EMOS/LTE/IMPORT_FILTER/MatlabCStruct.c
View file @
1a7471f0
...
...
@@ -159,8 +159,8 @@ ELEMENT_ATTRIBUTES MatlabCStruct(const mxArray *pArray, int MemoryAlignment, int
case
mxUINT8_CLASS
:
Attributes
.
ElementSize
=
sizeof
(
unsigned
char
);
break
;
case
mxINT16_CLASS
:
Attributes
.
ElementSize
=
sizeof
(
short
);
break
;
case
mxUINT16_CLASS
:
Attributes
.
ElementSize
=
sizeof
(
unsigned
short
);
break
;
case
mxINT32_CLASS
:
Attributes
.
ElementSize
=
sizeof
(
long
);
break
;
case
mxUINT32_CLASS
:
Attributes
.
ElementSize
=
sizeof
(
unsigned
long
);
break
;
case
mxINT32_CLASS
:
Attributes
.
ElementSize
=
sizeof
(
int
);
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_T
);
break
;
// jaj 05/24/2004
default:
mexErrMsgTxt
(
"Unknown MX class"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment