Mercurial > vim
comparison src/os_unix.h @ 6737:9a07975061ed v7.4.692
patch 7.4.692 for Problem: Defining SOLARIS for no good reason. (Danek Duvall)
Solution: Remove it.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 09 Apr 2015 22:08:21 +0200 |
parents | bf1775553d3b |
children | 56e121fd109b |
comparison
equal
deleted
inserted
replaced
6736:9ae4737fc48f | 6737:9a07975061ed |
---|---|
60 # include <libc.h> /* for NeXT */ | 60 # include <libc.h> /* for NeXT */ |
61 #endif | 61 #endif |
62 | 62 |
63 #ifdef HAVE_SYS_PARAM_H | 63 #ifdef HAVE_SYS_PARAM_H |
64 # include <sys/param.h> /* defines BSD, if it's a BSD system */ | 64 # include <sys/param.h> /* defines BSD, if it's a BSD system */ |
65 #endif | |
66 | |
67 /* | |
68 * Sun defines FILE on SunOS 4.x.x, Solaris has a typedef for FILE | |
69 */ | |
70 #if defined(sun) && !defined(FILE) | |
71 # define SOLARIS | |
72 #endif | 65 #endif |
73 | 66 |
74 /* | 67 /* |
75 * Using getcwd() is preferred, because it checks for a buffer overflow. | 68 * Using getcwd() is preferred, because it checks for a buffer overflow. |
76 * Don't use getcwd() on systems do use system("sh -c pwd"). There is an | 69 * Don't use getcwd() on systems do use system("sh -c pwd"). There is an |