Sha256: 8618fb2b3bbb1d0aaabf131105eae08c1cbf01452156e166f5e76067381aaece

Contents?: true

Size: 1.01 KB

Versions: 83

Compression:

Stored size: 1.01 KB

Contents

#ifndef fsevent_watch_defines_h
#define fsevent_watch_defines_h

#define _str(s) #s
#define _xstr(s) _str(s)

#define COMPILED_AT __DATE__ " " __TIME__

#if defined (__clang__)
#define COMPILER "clang " __clang_version__
#elif defined (__GNUC__)
#define COMPILER "gcc " __VERSION__
#else
#define COMPILER "unknown"
#endif

#if defined(__ppc__)
#define TARGET_CPU "ppc"
#elif defined(__ppc64__)
#define TARGET_CPU "ppc64"
#elif defined(__i386__)
#define TARGET_CPU "i386"
#elif defined(__x86_64__)
#define TARGET_CPU "x86_64"
#elif defined(__arm64__)
#define TARGET_CPU "arm64"
#else
#define TARGET_CPU "unknown"
#endif

#define FLAG_CHECK(flags, flag) ((flags) & (flag))

#define FPRINTF_FLAG_CHECK(flags, flag, msg, fd)  \
  do {                                            \
    if (FLAG_CHECK(flags, flag)) {                \
      fprintf(fd, "%s", msg "\n"); } }            \
  while (0)

#define FLAG_CHECK_STDERR(flags, flag, msg)       \
        FPRINTF_FLAG_CHECK(flags, flag, msg, stderr)

#endif /* fsevent_watch_defines_h */

Version data entries

83 entries across 83 versions & 5 rubygems

Version Path
harbr-0.1.90 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h
harbr-0.1.89 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h
harbr-0.1.88 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h
harbr-0.1.87 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h
harbr-0.1.86 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h
harbr-0.1.85 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h
harbr-0.1.84 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h
harbr-0.1.83 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h
harbr-0.1.82 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h
harbr-0.1.81 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h
harbr-0.1.80 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h
harbr-0.1.79 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h
harbr-0.1.78 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h
harbr-0.1.77 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h
harbr-0.1.76 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h
harbr-0.1.75 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h
harbr-0.1.74 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h
harbr-0.1.73 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h
harbr-0.1.72 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h
harbr-0.1.71 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h