diff options
author | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2001-08-24 09:29:47 +0000 |
---|---|---|
committer | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2001-08-24 09:29:47 +0000 |
commit | 8af510e3b55042e16baf197a69f4d788c4a7cd8b (patch) | |
tree | ceda1276a7ea5cd7af306d5ea9b301eff53ad70d /shared | |
parent | 57d64bfc706b0b9620c9fcbb579330e6f8462b61 (diff) |
add appropriate '#endif /* __linux__ */' or '#endif /* __FreeBSD__ */ as
per Jeff's suggestion
Diffstat (limited to 'shared')
-rw-r--r-- | shared/drm.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/shared/drm.h b/shared/drm.h index f5dfd0ef..17a727f5 100644 --- a/shared/drm.h +++ b/shared/drm.h @@ -35,15 +35,15 @@ #ifndef _DRM_H_ #define _DRM_H_ -#if defined(__linux__) +#ifdef __linux__ #include <linux/config.h> #include <asm/ioctl.h> /* For _IO* macros */ #define DRM_IOCTL_NR(n) _IOC_NR(n) -#endif -#if defined(__FreeBSD__) +#endif /* __linux__ */ +#ifdef __FreeBSD__ #include <sys/ioccom.h> #define DRM_IOCTL_NR(n) ((n) & 0xff) -#endif +#endif /* __FreeBSD__ */ #define XFREE86_VERSION(major,minor,patch,snap) \ ((major << 16) | (minor << 8) | patch) |