]> granicus.if.org Git - graphviz/commit
Replace checks for `WIN32` with `_WIN32`
authorErwin Janssen <erwinjanssen@outlook.com>
Wed, 11 Jan 2017 13:59:11 +0000 (14:59 +0100)
committerErwin Janssen <erwinjanssen@outlook.com>
Tue, 17 Jan 2017 18:14:58 +0000 (19:14 +0100)
commit0bf089625bb47bd2ab30d7f60d81f6c6c613fe1d
tree7510fbabeaddbe97dad9968c70c03f509329af99
parent0934f47904107b65adce887b5cab4f580dfa092b
Replace checks for `WIN32` with `_WIN32`

The preprocesser macro `WIN32` is defined by the user, while `_WIN32` is
defined by the compiler. To improve consistantcy, and prevent errors
caused by forgetting to define `WIN32` somewhere, it is better to use
`_WIN32` to check for Windows.
145 files changed:
cmd/dot/dot.c
cmd/dot/dot.vcxproj
cmd/dotty/dotty.vcxproj
cmd/edgepaint/edgepaint.vcxproj
cmd/gvedit/csettings.cpp
cmd/gvedit/main.cpp
cmd/gvmap/cluster.c
cmd/gvmap/gvmap.c
cmd/gvmap/gvmap.vcxproj
cmd/gvpr/gvpr.vcxproj
cmd/lefty/common.h
cmd/lefty/lefty.vcxproj
cmd/lefty/tbl.h
cmd/lneato/lneato.vcxproj
cmd/mingle/mingle.vcxproj
cmd/smyrna/btree.c
cmd/smyrna/btree.h
cmd/smyrna/gui/callbacks.h
cmd/smyrna/gui/frmobjectui.c
cmd/smyrna/gui/glcompui.c
cmd/smyrna/gui/gui.c
cmd/smyrna/gui/toolboxcallbacks.h
cmd/smyrna/main.c
cmd/smyrna/polytess.c
cmd/smyrna/smyrna.vcxproj
cmd/smyrna/smyrnadefs.h
cmd/tools/acyclic.vcxproj
cmd/tools/bcomps.vcxproj
cmd/tools/ccomps.vcxproj
cmd/tools/convert.h
cmd/tools/dijkstra.vcxproj
cmd/tools/gc.vcxproj
cmd/tools/gml2gv.h
cmd/tools/gml2gv.vcxproj
cmd/tools/graphml2gv.vcxproj
cmd/tools/gv2gml.c
cmd/tools/gv2gml.vcxproj
cmd/tools/gvcolor.vcxproj
cmd/tools/gvgen.vcxproj
cmd/tools/gvpack.c
cmd/tools/gvpack.vcxproj
cmd/tools/gvpack_builtins.c
cmd/tools/gxl2gv.vcxproj
cmd/tools/mm2gv.vcxproj
cmd/tools/nop.vcxproj
cmd/tools/sccmap.vcxproj
cmd/tools/tred.vcxproj
cmd/tools/tred2.c
cmd/tools/unflatten.vcxproj
configure.ac
contrib/diffimg/diffimg.c
contrib/diffimg/diffimg.vcxproj
contrib/prune/prune.c
contrib/prune/prune.vcxproj
doc/winbuild.html
lib/ast/ast.vcxproj
lib/cdt/cdt.vcxproj
lib/cgraph/cgraph.vcxproj
lib/circogen/gvcircogen.vcxproj
lib/dotgen/gvdotgen.vcxproj
lib/edgepaint/edgepaintlib.vcxproj
lib/edgepaint/lab_gamut.h
lib/edgepaint/lab_gamut.vcxproj
lib/edgepaint/node_distinct_coloring.c
lib/expr/exeval.c
lib/expr/exlib.h
lib/expr/exparse.y
lib/expr/expr.vcxproj
lib/fdpgen/gvfdpgen.vcxproj
lib/fdpgen/tlayout.c
lib/glcomp/glcomp.vcxproj
lib/glcomp/glcompdefs.h
lib/glcomp/glcompfont.h
lib/glcomp/glcomptext.h
lib/glcomp/glcomptexture.h
lib/glcomp/glutils.h
lib/gvc.vcxproj
lib/gvc/gvc.h
lib/gvc/gvcext.h
lib/gvc/gvcint.h
lib/gvc/gvconfig.c
lib/gvc/gvdevice.c
lib/gvc/gvio.h
lib/gvc/gvplugin.c
lib/gvc/gvplugin_loadimage.h
lib/gvc/gvusershape.c
lib/gvpr/actions.c
lib/gvpr/compile.c
lib/gvpr/gprstate.c
lib/gvpr/gprstate.h
lib/gvpr/gvpr.c
lib/gvpr/gvprlib.vcxproj
lib/ingraphs/ingraphs.vcxproj
lib/mingle/minglelib.vcxproj
lib/neatogen/gvneatogen.vcxproj
lib/neatogen/neatoinit.c
lib/neatogen/quad_prog_vpsc.c
lib/neatogen/stuff.c
lib/ortho/gvortho.vcxproj
lib/ortho/partition.c
lib/osage/osage.vcxproj
lib/pack/pack.h
lib/patchwork/gvpatchwork.vcxproj
lib/pathplan/Pathplan.vcxproj
lib/rbtree/rbtree.vcxproj
lib/sfdpgen/sfdp.vcxproj
lib/sfio/sfexit.c
lib/sfio/sfhdr.h
lib/sfio/sfio.vcxproj
lib/sfio/sfmode.c
lib/sfio/sfopen.c
lib/sfio/sfpopen.c
lib/sparse/gvsparse.vcxproj
lib/topfish/topfish.vcxproj
lib/twopigen/gvtwopigen.vcxproj
lib/vmalloc/vmalloc.vcxproj
lib/vmalloc/vmhdr.h
lib/vpsc/csolve_VPSC.cpp
lib/vpsc/vpsc.vcxproj
lib/xdot/xdot.h
lib/xdot/xdot.vcxproj
plugin/core/gvplugin_core.c
plugin/core/gvplugin_core.vcxproj
plugin/core/gvrender_core_dot.c
plugin/core/gvrender_core_fig.c
plugin/core/gvrender_core_hpgl.c
plugin/core/gvrender_core_json.c
plugin/core/gvrender_core_mp.c
plugin/core/gvrender_core_vtx.c
plugin/dot_layout/gvplugin_dot_layout.vcxproj
plugin/gd/gvplugin_gd.vcxproj
plugin/gd/gvrender_gd.c
plugin/gdiplus/gvplugin_gdiplus.vcxproj
plugin/gdk/gvloadimage_gdk.c
plugin/gs/gvloadimage_gs.c
plugin/neato_layout/gvplugin_neato_layout.vcxproj
plugin/pango/gvgetfontlist_pango.c
plugin/pango/gvplugin_pango.vcxproj
plugin/pango/gvtextlayout_pango.c
plugin/poppler/gvloadimage_poppler.c
plugin/rsvg/gvloadimage_rsvg.c
plugin/visio/gvplugin_visio.c
plugin/webp/gvloadimage_webp.c
tclpkg/gdtclft/gdtclft.c
windows/include/ps_font_equiv.h