[geany/geany-plugins] 9e0571: scope: fixed misplaced '#define SCOPE_MAX_EVALUATE_EXPR_LENGTH'

LarsGit223 git-noreply at xxxxx
Sat Jul 13 11:20:48 UTC 2019


Branch:      refs/heads/master
Author:      LarsGit223 <lars_paulsen at web.de>
Committer:   LarsGit223 <lars_paulsen at web.de>
Date:        Sat, 13 Jul 2019 11:20:48 UTC
Commit:      9e05711a514117518a369b524246c14efd61fbf0
             https://github.com/geany/geany-plugins/commit/9e05711a514117518a369b524246c14efd61fbf0

Log Message:
-----------
scope: fixed misplaced '#define SCOPE_MAX_EVALUATE_EXPR_LENGTH'


Modified Paths:
--------------
    scope/src/utils.c

Modified: scope/src/utils.c
6 lines changed, 4 insertions(+), 2 deletions(-)
===================================================================
@@ -33,13 +33,15 @@
 
 #include "common.h"
 
-#ifdef G_OS_UNIX
-#include <fcntl.h>
 
 /* The maximum length of an expression for evaluating the value.
    (Including the string terminator '\0') */
 #define SCOPE_MAX_EVALUATE_EXPR_LENGTH 256
 
+
+#ifdef G_OS_UNIX
+#include <fcntl.h>
+
 void show_errno(const char *prefix)
 {
 	show_error(_("%s: %s."), prefix, g_strerror(errno));



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list