使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
登录
Immanuel
/
sxiv
关注
1
点赞
0
派生
0
代码
工单
0
合并请求
0
版本发布
0
百科
动态
浏览代码
Unified feature test macro requirements
master
Bert
13 年前
父节点
e2ea759444
当前提交
de6b58a315
共有
4 个文件被更改
,包括
10 次插入
和
10 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+2
-2
image.c
+4
-3
options.c
+2
-2
thumbs.c
+2
-3
window.c
+ 2
- 2
image.c
查看文件
@@ -16,8 +16,6 @@
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301, USA.
*/
#define _IMAGE_CONFIG
#include <unistd.h>
#ifdef HAVE_GIFLIB
@@ -30,6 +28,8 @@
#include "image.h"
#include "options.h"
#include "util.h"
#define _IMAGE_CONFIG
#include "config.h"
enum { MIN_GIF_DELAY = 50 };
+ 4
- 3
options.c
查看文件
@@ -16,16 +16,17 @@
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301, USA.
*/
#define _
XOPEN_SOURCE
#
define _IMAGE_CONFIG
#define _
POSIX_C_SOURCE 2 /* for getopt(3) */
#
include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <unistd.h>
#include "options.h"
#include "util.h"
#define _IMAGE_CONFIG
#include "config.h"
options_t _options;
+ 2
- 2
thumbs.c
查看文件
@@ -16,8 +16,6 @@
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301, USA.
*/
#define _THUMBS_CONFIG
#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
@@ -27,6 +25,8 @@
#include "thumbs.h"
#include "util.h"
#define _THUMBS_CONFIG
#include "config.h"
#ifdef __NetBSD__
+ 2
- 3
window.c
查看文件
@@ -16,16 +16,15 @@
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301, USA.
*/
#define _WINDOW_CONFIG
#include <string.h>
#include <X11/Xutil.h>
#include <X11/cursorfont.h>
#include "options.h"
#include "util.h"
#include "window.h"
#define _WINDOW_CONFIG
#include "config.h"
static Cursor carrow;
撰写
预览
正在加载...
取消
保存