Mercurial > vim
comparison src/vim.h @ 18711:cfe589c1b300 v8.1.2347
patch 8.1.2347: MacOS: build fails
Commit: https://github.com/vim/vim/commit/84f903326d44db9b75fc3a39d4866f636f9ad4cd
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Nov 26 14:48:00 2019 +0100
patch 8.1.2347: MacOS: build fails
Problem: MacOS: build fails.
Solution: Don't define _XOPEN_SOURCE for Mac.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 26 Nov 2019 15:00:04 +0100 |
parents | 673f4603d979 |
children | ee8cf665dc2e |
comparison
equal
deleted
inserted
replaced
18710:708e4b8b5fbd | 18711:cfe589c1b300 |
---|---|
34 */ | 34 */ |
35 # if (VIM_SIZEOF_INT == 0) | 35 # if (VIM_SIZEOF_INT == 0) |
36 Error: configure did not run properly. Check auto/config.log. | 36 Error: configure did not run properly. Check auto/config.log. |
37 # endif | 37 # endif |
38 | 38 |
39 # ifdef UNIX | 39 # if defined(UNIX) && !defined(MACOS_X) |
40 // Needed for strptime(). Needs to be done early, since header files can | 40 // Needed for strptime(). Needs to be done early, since header files can |
41 // include other header files and end up including time.h, where these symbols | 41 // include other header files and end up including time.h, where these symbols |
42 // matter for Vim. | 42 // matter for Vim. |
43 // 700 is needed for mkdtemp(). | 43 // 700 is needed for mkdtemp(). |
44 # ifndef _XOPEN_SOURCE | 44 # ifndef _XOPEN_SOURCE |