Predefined Macros
- _CVI_ is defined to 1 in LabWindows/CVI
version 3.0, 301 in version 3.0.1, 310 in version 3.1, and so on.
- _NI_mswin_.
- _NI_mswin32_.
- _NI_i386_.
- _NI_unix_.
- _NI_linux_ is defined if compiling under Linux.
- _CVI_DEBUG_ is defined
if you enable Build»Configuration»Debug in the Workspace window. The value of the macro is 1.
- _CVI_EXE_ is defined if
the project target type is Executable.
- _CVI_DLL_ is defined if target
type is Dynamic Link Library.
- _CVI_LIB_ is defined if target
type is Static Library.
- _LINK_CVIRTE_ is defined if
the project run-time support is Full run-time engine.
- _LINK_INSTRSUP_ is defined if
the project run-time support is Instrument driver only.
- _LINK_CVI_LVRT_ is defined if
the project run-time support is Real-time only.
- __DEFALIGN is defined to
the default structure alignment: 8 for Microsoft; 1 for
Borland.
- _NI_VC_ is defined to
220 if in Microsoft Visual C/C++ compatibility mode.
- _NI_BC_ is defined to
451 if in Borland C/C++ compatibility mode.
- _WINDOWS.
- WIN32.
- _WIN32.
- __WIN32__.
- __NT__.
- _M_IX86 is defined to 400.
- __FLAT__ is defined to 1.
- _CVI_USE_FUNCS_FOR_VARS_
- _PUSHPOP_SUPPORTED
- LabWindows/CVI does not define _MSC_VER or __BORLANDC__. The external compilers each define one of these macros. If you port code originally developed under one of these external compilers to LabWindows/CVI, you might have to manually define one of these macros.
Resources