[MPlayer-cvslog] r36901 - trunk/stream/vcd_read_os2.h
komh
subversion at mplayerhq.hu
Sun Feb 23 13:02:39 CET 2014
Author: komh
Date: Sun Feb 23 13:02:38 2014
New Revision: 36901
Log:
vcd: make high memory safe on OS/2 kLIBC
DosDevIOCtl() is not high meory(-Zhigh-memory) safe. So allocate vcd
structure in a low memory pool using a _lcalloc() on kLIBC.
Modified:
trunk/stream/vcd_read_os2.h
Modified: trunk/stream/vcd_read_os2.h
==============================================================================
--- trunk/stream/vcd_read_os2.h Sat Feb 22 22:35:54 2014 (r36900)
+++ trunk/stream/vcd_read_os2.h Sun Feb 23 13:02:38 2014 (r36901)
@@ -23,6 +23,11 @@
#ifndef MPLAYER_VCD_READ_OS2_H
#define MPLAYER_VCD_READ_OS2_H
+#ifdef __KLIBC__
+#include <emx/umalloc.h>
+#define calloc _lcalloc
+#endif
+
#include "mp_msg.h"
struct __attribute__((packed)) msf {
More information about the MPlayer-cvslog
mailing list