Commit f65eaf00 authored by diego's avatar diego

Use '#if defined()' for OS-specific preprocessor checks.

Avoids some warnings about undefined preprocessor directives.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16869 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ffe23fbf
......@@ -25,11 +25,11 @@
#ifdef __APPLE__
#undef _POSIX_C_SOURCE
#include <sys/sysctl.h>
#elif __OpenBSD__
#elif defined(__OpenBSD__)
#include <sys/param.h>
#include <sys/sysctl.h>
#include <machine/cpu.h>
#elif __AMIGAOS4__
#elif defined(__AMIGAOS4__)
#include <exec/exec.h>
#include <interfaces/exec.h>
#include <proto/exec.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment