From 2d8ee4a656c7c82f3b77f7992a11784ba0a8e471 Mon Sep 17 00:00:00 2001 From: Etienne Brateau <etienne.brateau@ensiie.fr> Date: Wed, 23 Jan 2019 23:53:57 +0100 Subject: [PATCH] Definitively fix 64bit application --- Makefile | 7 +++++-- include/node.h | 4 ++-- src/node.c | 1 + 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index c42fa71..c4d01c9 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,10 @@ # along with this program; see the file COPYING. If not, write to # the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -ARCH_OPT = -m32 +## Define this option to specify architecture +## Can be -m32 for 32 bit application or +## -m64 for 64 bit application. +ARCH_OPT = CD = cd @@ -41,7 +44,7 @@ LIBX11 = -lX11 OTHERLIBS= -lm -CHIPMUNKCC = gcc -O2 +CHIPMUNKCC = gcc CC = $(CHIPMUNKCC) diff --git a/include/node.h b/include/node.h index a4c95af..56de043 100644 --- a/include/node.h +++ b/include/node.h @@ -7,8 +7,8 @@ typedef struct log_nrec { struct log_nrec *next; na_long info; - struct log_tool *simtype; - struct log_nrec *confnext; + log_tool *simtype; + log_nrec *confnext; short ref; log_gattrrec *attr; na_long temp; diff --git a/src/node.c b/src/node.c index 83aa961..8c0bca4 100644 --- a/src/node.c +++ b/src/node.c @@ -4,6 +4,7 @@ #include "logglobals.h" #include "utils.h" #include "node.h" +#include "log.h" /*================== ADDNODE ===================*/ /*= =*/ -- GitLab