File: csnappy_compat.h

package info (click to toggle)
libsereal-decoder-perl 5.004%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 2,556 kB
  • sloc: ansic: 11,615; perl: 6,938; sh: 25; makefile: 9
file content (16 lines) | stat: -rw-r--r-- 341 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef CSNAPPY_COMPAT_H

/* This file was added to Sereal to attempt some MSVC compatibility,
 * but is at best a band-aid. And done without a lot of experience
 * in whatever subset of C99 MSVC supports.
 */

#ifndef INLINE
#   if defined(_MSC_VER)
#     define INLINE __inline
#   else
#     define INLINE inline
#   endif
#endif

#endif