File: csnappy_compat.h

package info (click to toggle)
libsereal-decoder-perl 4.005%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,952 kB
  • sloc: ansic: 8,105; perl: 5,782; sh: 25; makefile: 5
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