Mercurial > vim
view src/os_qnx.h @ 9570:695186e11daa v7.4.2062
commit https://github.com/vim/vim/commit/840268400dc8fda62a14f8a084e8b1ea46619454
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 17 20:37:43 2016 +0200
patch 7.4.2062
Problem: Using dummy variable to compute struct member offset.
Solution: Use offsetof().
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 17 Jul 2016 20:45:05 +0200 |
parents | 3fc0f57ecb91 |
children | 4aead6a9b7a9 |
line wrap: on
line source
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. */ #ifdef __QNXNTO__ # include <sys/procmgr.h> #endif #define USE_TMPNAM #define POSIX /* Used by pty.c */ #if defined(FEAT_GUI_PHOTON) extern int is_photon_available; #endif