Skip to content
Snippets Groups Projects
Select Git revision
  • 4d27ce5256505c6c58ca018e15566b1c82cc7171
  • master default
  • 0.1
3 results

machine.py

Blame
  • object.c 38.40 KiB
    /*\
    ||| This file a part of Pike, and is copyright by Fredrik Hubinette
    ||| Pike is distributed as GPL (General Public License)
    ||| See the files COPYING and DISCLAIMER for more information.
    \*/
    /**/
    #include "global.h"
    RCSID("$Id: object.c,v 1.156 2001/01/17 10:13:52 hubbe Exp $");
    #include "object.h"
    #include "dynamic_buffer.h"
    #include "interpret.h"
    #include "program.h"
    #include "stralloc.h"
    #include "svalue.h"
    #include "pike_macros.h"
    #include "pike_memory.h"
    #include "pike_error.h"
    #include "main.h"
    #include "array.h"
    #include "gc.h"
    #include "backend.h"
    #include "callback.h"
    #include "cpp.h"
    #include "builtin_functions.h"
    #include "cyclic.h"
    #include "security.h"
    #include "module_support.h"
    #include "fdlib.h"
    #include "mapping.h"
    #include "constants.h"
    #include "encode.h"
    
    #include "block_alloc.h"
    
    #ifdef HAVE_SYS_TYPES_H
    #include <sys/types.h>
    #endif /* HAVE_SYS_TYPES_H */
    
    #ifdef HAVE_SYS_FILE_H
    #include <sys/file.h>
    #endif /* HAVE_SYS_FILE_H */
    
    #include <sys/stat.h>
    
    #include "dmalloc.h"
    
    
    #ifndef SEEK_SET
    #ifdef L_SET
    #define SEEK_SET	L_SET
    #else /* !L_SET */
    #define SEEK_SET	0
    #endif /* L_SET */
    #endif /* SEEK_SET */
    #ifndef SEEK_CUR
    #ifdef L_INCR
    #define SEEK_SET	L_INCR
    #else /* !L_INCR */
    #define SEEK_CUR	1
    #endif /* L_INCR */
    #endif /* SEEK_CUR */
    #ifndef SEEK_END
    #ifdef L_XTND
    #define SEEK_END	L_XTND
    #else /* !L_XTND */
    #define SEEK_END	2
    #endif /* L_XTND */
    #endif /* SEEK_END */