/*
* WebCit "system dependent" code.
*
- * Copyright (c) 1996-2012 by the citadel.org team
+ * Copyright (c) 1996-2014 by the citadel.org team
*
* This program is open source software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 3.
#include <sys/socket.h>
#include <syslog.h>
#include <sys/syslog.h>
-
-#if TIME_WITH_SYS_TIME
-# include <sys/time.h>
-# include <time.h>
-#else
-# if HAVE_SYS_TIME_H
-# include <sys/time.h>
-# else
-# include <time.h>
-# endif
-#endif
-
+#include <time.h>
#include <limits.h>
#include <sys/resource.h>
#include <netinet/in.h>
char file_etc_mimelist[PATH_MAX]="";
const char editor_absolut_dir[PATH_MAX]=EDITORDIR; /* nailed to what configure gives us. */
+const char markdown_editor_absolutedir[]=MARKDOWNEDITORDIR;
+
char etc_dir[PATH_MAX];
char static_dir[PATH_MAX]; /* calculated on startup */
char static_local_dir[PATH_MAX]; /* calculated on startup */
(char*)static_dir, /* our templates on disk */
(char*)static_local_dir, /* user provided templates disk */
(char*)editor_absolut_dir, /* the editor on disk */
- (char*)static_icon_dir /* our icons... */
+ (char*)static_icon_dir, /* our icons... */
+ (char*)markdown_editor_absolutedir
};
int ExitPipe[2];