PageRenderTime 12ms CodeModel.GetById 2ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Lib/perl5/noembed.h

#
C++ Header | 108 lines | 105 code | 0 blank | 3 comment | 0 complexity | 4746f7df96acc1ec585eb12704d48a0f MD5 | raw file
  1/* Workaround perl5 global namespace pollution. Note that undefining library
  2 * functions like fopen will not solve the problem on all platforms as fopen
  3 * might be a macro on Windows but not necessarily on other operating systems. */
  4#ifdef do_open
  5  #undef do_open
  6#endif
  7#ifdef do_close
  8  #undef do_close
  9#endif
 10#ifdef do_exec
 11  #undef do_exec
 12#endif
 13#ifdef scalar
 14  #undef scalar
 15#endif
 16#ifdef list
 17  #undef list
 18#endif
 19#ifdef apply
 20  #undef apply
 21#endif
 22#ifdef convert
 23  #undef convert
 24#endif
 25#ifdef Error
 26  #undef Error
 27#endif
 28#ifdef form
 29  #undef form
 30#endif
 31#ifdef vform
 32  #undef vform
 33#endif
 34#ifdef LABEL
 35  #undef LABEL
 36#endif
 37#ifdef METHOD
 38  #undef METHOD
 39#endif
 40#ifdef Move
 41  #undef Move
 42#endif
 43#ifdef yylex
 44  #undef yylex
 45#endif
 46#ifdef yyparse
 47  #undef yyparse
 48#endif
 49#ifdef yyerror
 50  #undef yyerror
 51#endif
 52#ifdef invert
 53  #undef invert
 54#endif
 55#ifdef ref
 56  #undef ref
 57#endif
 58#ifdef read
 59  #undef read
 60#endif
 61#ifdef write
 62  #undef write
 63#endif
 64#ifdef eof
 65  #undef eof
 66#endif
 67#ifdef bool
 68  #undef bool
 69#endif
 70#ifdef close
 71  #undef close
 72#endif
 73#ifdef rewind
 74  #undef rewind
 75#endif
 76#ifdef free
 77  #undef free
 78#endif
 79#ifdef malloc
 80  #undef malloc
 81#endif
 82#ifdef calloc
 83  #undef calloc
 84#endif
 85#ifdef Stat
 86  #undef Stat
 87#endif
 88#ifdef check
 89  #undef check
 90#endif
 91#ifdef seekdir
 92  #undef seekdir
 93#endif
 94#ifdef open
 95  #undef open
 96#endif
 97#ifdef readdir
 98  #undef readdir
 99#endif
100#ifdef bind
101  #undef bind
102#endif
103#ifdef access
104  #undef access
105#endif
106#ifdef stat
107  #undef stat
108#endif