Changeset 10f924c for libwandio/wandio.h
- Timestamp:
- 05/23/14 17:31:26 (7 years ago)
- Branches:
- 4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
- Children:
- 2a7047c
- Parents:
- d3b6b91
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libwandio/wandio.h
r0acfd1e r10f924c 34 34 #ifndef IO_H 35 35 #define IO_H 1 /**< Guard Define */ 36 #include "config.h"37 36 #include <sys/types.h> 38 37 #include <stdio.h> … … 40 39 #include <stdbool.h> 41 40 42 #if __GNUC__ >= 4 43 #ifdef LT_BUILDING_DLL 44 #define DLLEXPORT __attribute__ ((visibility("default"))) 45 #define DLLLOCAL __attribute__ ((visibility("hidden"))) 46 #else 47 #define DLLEXPORT 48 #define DLLLOCAL 49 #endif 50 #else 51 #define DLLEXPORT 52 #define DLLLOCAL 41 42 #ifndef DLLEXPORT 43 #if HAVE_VISIBILITY && LT_BUILDING_DLL 44 #define DLLEXPORT __attribute__ ((visibility("default"))) 45 #define DLLLOCAL __attribute__ ((visibility("hidden"))) 46 #else 47 #define DLLEXPORT 48 #define DLLLOCAL 49 #endif 53 50 #endif 54 51 52 // TODO: Use a proper check for these attribute rather than gcc version check 55 53 #if __GNUC__ >= 3 56 54 # define DEPRECATED __attribute__((deprecated)) … … 330 328 /** @} */ 331 329 332 /** @name libtraceio options333 * @{ */334 extern int force_directio_read;335 extern int force_directio_write;336 extern uint64_t write_waits;337 extern uint64_t read_waits;338 extern unsigned int use_threads;339 extern unsigned int max_buffers;340 /* @} */341 342 330 #endif
Note: See TracChangeset
for help on using the changeset viewer.