Branch: Tag:

2006-07-04

2006-07-04 21:31:30 by Martin Stjernholm <mast@lysator.liu.se>

MSVC doesn't like empty array initializers.

Rev: src/module.c:1.40
Rev: src/pike_macros.h:1.40

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: pike_macros.h,v 1.39 2005/03/15 09:58:35 grubba Exp $ + || $Id: pike_macros.h,v 1.40 2006/07/04 21:31:30 mast Exp $   */      #ifndef MACROS_H
128:   /* Useful to get a literal comma in an argument to a macro. */   #define COMMA ,    + /* Necessary to pass an empty argument to a macro for some preprocessors. */ + #define NOTHING +    /* Needed for fsort_template.h */   PMOD_EXPORT int my_log2(size_t x);      #endif