Skip to content

Instantly share code, notes, and snippets.

diff --git a/src/Makefile b/src/Makefile
index f7f81a4e6..1e9952821 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -169,6 +169,10 @@ else
HOST_SYS= Windows
HOST_MSYS= cygwin
endif
+ ifneq (,$(findstring MSYS,$(HOST_SYS)))
+ HOST_SYS= Windows
--- origsrc/R-3.2.5/m4/R.m4 2016-04-24 16:49:34.626084100 +0900
+++ m4/R.m4 2016-04-26 14:49:53.374930500 +0900
@@ -3506,6 +3506,9 @@
want_mbcs_support=no
fi
fi
+if test "$want_mbcs_support" = yes; then
+ AC_CHECK_SIZEOF(wchar_t, [], [#include <wchar.h>])
+fi
if test "x${want_mbcs_support}" != xyes; then
;;; psgml-html.el --- HTML mode in conjunction with PSGML
;; arch-tag: 68a4c8e6-2bb1-4f89-95aa-b964a5786dd5
;; Copyright (C) 1994 Nelson Minar.
;; Copyright (C) 1995 Nelson Minar and Ulrik Dickow.
;; Copyright (C) 1996 Ben Wing.
;; This file is part of XEmacs.
#include <stdlib.h>
#include <check.h>
#include "queue.h"
#include "check_queue.h"
const char * const test_data1[DATA1_NUM + 1] = {"foo", "bar", "baz", "qux", "quux", NULL};
const char * const test_data2[DATA2_NUM + 1] = {"corge", "grault", "garply", NULL};
QUEUE h, n;
node_T * make_node(const char * data)
@erw7
erw7 / cmake.lang
Last active July 13, 2018 01:00
source-highlight definition
# language definition for CMake
# erw7.github@gmail.com
#
environment comment start "#" begin
include "url.lang"
todo = '\<TODO|FIXME|XXX\>'
end
environment string delim "\"" "\"" escape "\\" begin