]> git.eshelyaron.com Git - emacs.git/commit
Fix windows NT handling for [...]_add_driver_options
authorAndreas Fuchs <asf@boinkor.net>
Wed, 19 Aug 2020 12:16:50 +0000 (08:16 -0400)
committerAndrea Corallo <akrl@sdf.org>
Wed, 26 Aug 2020 19:25:45 +0000 (21:25 +0200)
commitc00aedb4a591fc19818ad28846b7cf03c744a730
treeb2f9b5905ee1b58543de8bcf5ec02f38ab273ef6
parent2772e835b61774ca83cbd2bf79c2534b2d1c6f49
Fix windows NT handling for [...]_add_driver_options

* Instead of conditionalizing on the wrong preprocessor flag, now use
  the right one: LIBGCCJIT_HAVE_gcc_jit_context_add_driver_option

* Also perform the driver-option-adding step on win NT, but only if
  the function is non-NULL.

* Make the function declaration for add_driver_options non-old-style.
src/comp.c