~ubuntu-branches/ubuntu/wily/libsereal-encoder-perl/wily-proposed

« back to all changes in this revision

Viewing changes to snappy/csnappy_compat.h

  • Committer: Package Import Robot
  • Author(s): Alexandre Mestiashvili
  • Date: 2013-05-14 13:40:56 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20130514134056-rlc72xdqlq8ehbtj
Tags: 0.36-1
* Imported Upstream version 0.36
* Refreshed d/copyright to more accurately reflect the various copyright
  holders of code copied or inspired from elsewhere

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef CSNAPPY_COMPAT_H
 
2
 
 
3
/* This file was added to Sereal to attempt some MSVC compatibility,
 
4
 * but is at best a band-aid. And done without a lot of experience
 
5
 * in whatever subset of C99 MSVC supports.
 
6
 */
 
7
 
 
8
#ifndef INLINE
 
9
#   if defined(_MSC_VER)
 
10
#     define INLINE __inline
 
11
#   else
 
12
#     define INLINE inline
 
13
#   endif
 
14
#endif
 
15
 
 
16
#endif