diff options
author | jkeil <jkeil@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-24 16:12:28 +0000 |
---|---|---|
committer | jkeil <jkeil@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-24 16:12:28 +0000 |
commit | ec55c409eecf1fca87569f730f631632aca98f1e (patch) | |
tree | e530320469fa06b8cd3e820d2fb5313f101b8dd3 /loader/win32.c | |
parent | cc3b911d90946a6d781bdb33915694849c3a4b64 (diff) | |
download | mpv-ec55c409eecf1fca87569f730f631632aca98f1e.tar.bz2 mpv-ec55c409eecf1fca87569f730f631632aca98f1e.tar.xz |
Add a few ifdefs, so that the code compiles on old solaris releases (2.6 and 7)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1680 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader/win32.c')
-rw-r--r-- | loader/win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/win32.c b/loader/win32.c index 4941dd6a8f..ca6549f554 100644 --- a/loader/win32.c +++ b/loader/win32.c @@ -1344,7 +1344,7 @@ static double linux_cpuinfo_freq() static double solaris_kstat_freq() { -#if HAVE_LIBKSTAT +#if defined(HAVE_LIBKSTAT) && defined(KSTAT_DATA_INT32) /* * try to extract the CPU speed from the solaris kernel's kstat data */ |