42 Commits

Author SHA1 Message Date
gblues
6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
Brad Parker
49d0299808 LEGACY_WIN32: check for target of less than Win2K instead of < vc2005, since Win98 does not support Unicode 2017-12-04 22:49:08 -05:00
twinaphex
9558e569f1 We can still make use of this for PowerPC Mac 2017-12-04 05:56:03 +01:00
twinaphex
f53093de4d Default to nbio stdio for PowerPC Mac 2017-12-04 03:12:45 +01:00
twinaphex
97529ade6e OSX PowerPC might not define O_CLOEXEC 2017-12-04 02:48:08 +01:00
twinaphex
2203deb499 Need to include config.h here 2017-11-30 03:43:51 +01:00
Brad Parker
ae6892a89a nbio: buildfix for Windows versions older than 2000 2017-11-27 17:48:07 -05:00
orbea
768b1b433c libretro-common: Silence redefined warning. 2017-11-26 20:14:06 -08:00
twinaphex
00d57af005 C89_BUILD fixes 2017-11-26 22:53:42 +01:00
twinaphex
e35394d4bd Fix MSVC 2003 build 2017-11-26 22:41:34 +01:00
twinaphex
369be389f4 Don't need HAVE_MMAP for linux 2017-11-25 18:42:12 +01:00
Twinaphex
ff7a244f5b use Unix mmap for OSX/macOS now 2017-11-25 18:39:09 +01:00
twinaphex
e78ec12973 Can't have redefinitions of nbio_t in Griffin 2017-11-25 18:33:22 +01:00
twinaphex
fe12e079bb Reimplement NBIO windows mmap 2017-11-25 17:38:37 +01:00
twinaphex
72b157bfcd DOn't rely on HASVE_MMAP for nbio_windowsmmap.c 2017-11-25 07:26:06 +01:00
twinaphex
0485bab0ef Add HAVE_CONFIG_H to nbio_intf.c 2017-11-25 06:15:30 +01:00
twinaphex
d4c3108b88 Implement new nbio interface implementations 2017-11-25 05:51:33 +01:00
twinaphex
7a772b9cd4 Create nbio_intf.c 2017-11-25 05:35:55 +01:00
twinaphex
81e543a4c9 Cleanups 2017-11-25 05:21:35 +01:00
twinaphex
64a6d6f184 Turn nbio_windowsmmap.c Unicode compatible 2017-11-25 05:18:30 +01:00
twinaphex
395e84ede2 Style nits 2017-11-25 02:18:24 +01:00
twinaphex
ac651b7581 Cleanups 2017-11-25 02:12:15 +01:00
twinaphex
0f6c453428 Cleanups 2017-11-25 02:10:04 +01:00
Alcaro
5999999cd3 Add Linux-native nbio too 2017-11-24 23:56:05 +01:00
Alcaro
5a6aad3dc7 Add mmap nbio for Windows too 2017-11-24 22:43:22 +01:00
Alcaro
7817ba2340 Add ugly check 2017-11-24 22:14:03 +01:00
Alcaro
053fbd6f27 Add mmap-based nbio implementation (which is too fast for the tests but otherwise passes) 2017-11-24 22:08:57 +01:00
twinaphex
92ea40d96e Fix edge case when file is empty 2017-11-24 21:39:10 +01:00
Brad Parker
f3aceefe84 win32: use W-functions for nbio file IO too 2017-10-18 12:30:44 -04:00
twinaphex
7c722fca9a (nbio_stdio.c) Try to prevent 'argument cannot be negative' coverity warning 2017-01-22 20:30:47 +01:00
twinaphex
a1c2036769 Create samples/file/nbio 2016-09-29 21:28:56 +02:00
Alcaro
43a6a667be We don't need this one. 2016-08-08 19:14:00 +02:00
twinaphex
08b7ac500b (libretro-common) Updates 2016-04-23 10:40:46 +02:00
twinaphex
32a8b57826 Move test files 2016-03-21 18:27:02 +01:00
Higor Eurípedes
91af356a31 (nbio) Fix leak 2015-06-12 18:21:11 -03:00
twinaphex
49c08fdba9 (nbio_stdio.c) Try to free handle->data in case of an error 2015-06-12 22:09:07 +02:00
twinaphex
4b1bdac62c (nbio_stdio.c) Expand modes 2015-03-18 04:40:10 +01:00
twinaphex
c6d0e4ec51 Add BIO_READ/BIO_WRITE to nbio_stdio.c 2015-03-18 03:59:44 +01:00
twinaphex
fd338160bc (nbio_stdio.c) Some changes 2015-03-18 03:51:58 +01:00
twinaphex
0bb5e0c7fd Cleanups 2015-02-20 03:18:06 +01:00
twinaphex
deb282af4d (rpng) Add stub code for nonblocking 2015-02-20 02:34:17 +01:00
twinaphex
a33016d457 Renamed libretro-sdk to libretro-common 2015-02-19 00:04:03 +01:00