Changeset 6048:f37c7f362422 in roaraudio


Ignore:
Timestamp:
11/10/14 21:53:54 (9 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

seems NetBSD now also uses va-function for the _oss_ioctl() alias.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroaross/libroaross.c

    r5961 r6048  
    107107 
    108108#ifdef ROAR_OS_NETBSD 
    109 #define IOCTL() int _oss_ioctl __P((int fd, unsigned long com, void *argp)) 
     109#define IOCTL() int _oss_ioctl __P((int fd, unsigned long com, ...)) 
    110110#define map_args int __fd = fd; unsigned long int __request = com 
     111#define va_argp 
     112#define ioctl_lastarg com 
    111113#elif defined(ROAR_TARGET_CYGWIN) 
    112114#define IOCTL() int ioctl (int __fd, int __cmd, ...) 
Note: See TracChangeset for help on using the changeset viewer.