ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/random_maps/style.C
(Generate patch)

Comparing deliantra/server/random_maps/style.C (file contents):
Revision 1.24 by root, Sat Feb 17 23:32:11 2007 UTC vs.
Revision 1.25 by root, Mon Jun 4 13:04:00 2007 UTC

26#include <random_map.h> 26#include <random_map.h>
27#include <dirent.h> 27#include <dirent.h>
28#include <sys/stat.h> 28#include <sys/stat.h>
29#include <unistd.h> 29#include <unistd.h>
30#include "../include/autoconf.h" 30#include "../include/autoconf.h"
31
32// NAME_MAX may not be defined on POSIX systems
33#ifndef NAME_MAX
34# define NAME_MAX 255
35#endif
31 36
32static int 37static int
33pointer_strcmp (const void *p1, const void *p2) 38pointer_strcmp (const void *p1, const void *p2)
34{ 39{
35 const char *s1 = *(const char **) p1; 40 const char *s1 = *(const char **) p1;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines