Mercurial > mxe-octave
comparison src/build-msvctools/cc-msvc.cc @ 3127:e0257da7fcdc
[MSVC] only use special math.h with clgcc and similar.
- cc-msvc.cc: define __CLGCC__ macro
- math/math.h.in: defaults to stock math.h if __CLGCC__ is not defined
- math/Makefile: add -D__CLGCC__ for files compiled with MSVC
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Thu, 11 Jul 2013 23:47:31 -0400 |
parents | 31edb6eea0eb |
children | b28756fd131c |
comparison
equal
deleted
inserted
replaced
3126:7421017ece8e | 3127:e0257da7fcdc |
---|---|
354 bool no_exceptions = false, default_libs = true, incremental_link = false; | 354 bool no_exceptions = false, default_libs = true, incremental_link = false; |
355 bool cppmode = false; | 355 bool cppmode = false; |
356 | 356 |
357 prog = "cl"; | 357 prog = "cl"; |
358 // Default target is WinXP SP3 | 358 // Default target is WinXP SP3 |
359 clopt = "-nologo -MD -DWIN32 -D_WIN32 -D__WIN32__ -DNTDDI_VERSION=0x05010300 -D_WIN32_WINNT=0x0501"; | 359 clopt = "-nologo -MD -DWIN32 -D__CLGCC__ -D_WIN32 -D__WIN32__ -DNTDDI_VERSION=0x05010300 -D_WIN32_WINNT=0x0501"; |
360 linkopt = "-nologo"; | 360 linkopt = "-nologo"; |
361 cllinkopt = ""; | 361 cllinkopt = ""; |
362 sourcefile = ""; | 362 sourcefile = ""; |
363 objectfile = ""; | 363 objectfile = ""; |
364 gotparam = false; | 364 gotparam = false; |