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-2.8.1 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h
harbr-0.2.10 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h
harbr-0.2.9 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h
harbr-0.2.8 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h
harbr-0.2.7 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h
harbr-0.2.6 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h
harbr-0.2.5 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h
harbr-0.2.4 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h
harbr-0.2.3 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h
harbr-0.2.2 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h
harbr-0.2.1 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h
harbr-0.2.0 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h
harbr-0.1.99 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h
harbr-0.1.98 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h
harbr-0.1.97 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h
harbr-0.1.96 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h
harbr-0.1.95 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h
harbr-0.1.94 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h
harbr-0.1.93 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h
harbr-0.1.91 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/defines.h