VirtualBox

Changeset 3292 in kBuild


Ignore:
Timestamp:
Jan 8, 2019 6:56:41 PM (6 years ago)
Author:
bird
Message:

fts.c: Solaris 11 build fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/kmkbuiltin/fts.c

    r3219 r3292  
    3030 */
    3131
     32#ifdef __sun__
     33# define _POSIX_C_SOURCE 199506L /* for dirfd() */
     34# define __EXTENSIONS__  1       /* for u_short and friends */
     35#endif
    3236#if HAVE_NBTOOL_CONFIG_H
    3337#include "nbtool_config.h"
     
    6569#ifdef __sun__
    6670# include "solfakes.h"
    67 # ifndef __XOPEN_OR_POSIX
    68 #  define dirfd(dir) ((dir)->dd_fd)
    69 #else
    70 #  define dirfd(dir) ((dir)->d_fd)
    71 #endif
     71# define dirfd(dir) ((dir)->d_fd)
    7272#endif
    7373#ifdef _MSC_VER
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette