Change compiler mode for C99.

This commit is contained in:
Shigeru KANEMOTO 2015-07-15 10:43:45 +09:00
parent b9ec75e061
commit b9cd63b6ab
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ all: gps-sdr-sim
SHELL=/bin/bash SHELL=/bin/bash
CC=gcc CC=gcc
CFLAGS=-fopenmp -O3 CFLAGS=-std=c99 -fopenmp -O3
LDFLAGS=-lm -fopenmp LDFLAGS=-lm -fopenmp
gps-sdr-sim: gpssim.o gps-sdr-sim: gpssim.o

View File

@ -9,7 +9,7 @@
#ifdef _WIN32 #ifdef _WIN32
#include "getopt.h" #include "getopt.h"
#else #else
#include <unistd.h> #include <getopt.h>
#endif #endif
#ifndef bool #ifndef bool