aboutsummaryrefslogtreecommitdiffhomepage
path: root/loader
diff options
context:
space:
mode:
authorGravatar arpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-17 23:04:37 +0000
committerGravatar arpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-17 23:04:37 +0000
commit23a33e55a4cc7660518984e6210cde23ea52ef1b (patch)
tree094020d51dd946e83f3b3955daeac1d1cc6db028 /loader
parenta03232d72fe016d02534e3bd80183685b7f04bce (diff)
added MulDiv -> should fix Acelp.net audio
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@498 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader')
-rw-r--r--loader/win32.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/loader/win32.c b/loader/win32.c
index ec6d8695a7..8dcd3363b2 100644
--- a/loader/win32.c
+++ b/loader/win32.c
@@ -2354,6 +2354,20 @@ WIN_BOOL
+LONG WINAPI expInterlockedExchange(long *dest, long l)
+{
+ long retval;
+ retval = *dest;
+ *dest = l;
+ return retval;
+}
+
+INT WINAPI expMulDiv(int nNumber,int nNumerator,int nDenominator)
+{
+ return ((long long)nNumber * (long long)nNumerator) / nDenominator;
+}
+
+
@@ -2480,6 +2494,8 @@ FF(GetWindowsDirectoryA,-1)
FF(SetErrorMode, -1)
FF(IsProcessorFeaturePresent, -1)
FF(GetProcessAffinityMask, -1)
+FF(InterlockedExchange, -1)
+FF(MulDiv, -1)
};
struct exports exp_msvcrt[]={