[quake3-commits] [ioquake/ioq3] bd2af6: Use MSVC mode marcos for creat in q3cpp on Windows

Zack Middleton zturtleman at gmail.com
Wed Jan 7 20:33:00 EST 2015


  Branch: refs/heads/master
  Home:   https://github.com/ioquake/ioq3
  Commit: bd2af6e4ea6e4d32f8a8ce4512b2f1b13153abeb
      https://github.com/ioquake/ioq3/commit/bd2af6e4ea6e4d32f8a8ce4512b2f1b13153abeb
  Author: Zack Middleton <zturtleman at gmail.com>
  Date:   2015-01-07 (Wed, 07 Jan 2015)

  Changed paths:
    M code/tools/lcc/cpp/unix.c

  Log Message:
  -----------
  Use MSVC mode marcos for creat in q3cpp on Windows

Using unix mode 0666 for creat was causing crashes when compiled with MSVC.
So use the marcos recommended by MSDN. MinGW also has the marcos, so apply
to Windows builds in general.




More information about the quake3-commits mailing list