diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-02-17 15:07:24 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-02-17 15:07:24 +0100 |
commit | 91b0d53f8835bd274997eddb28b74ebc5ef00340 (patch) | |
tree | a26ce549c872db5d9a31d5756a2bf657de739a75 /src/include/platform.h | |
parent | f902ec42f6e2703c11a0cad9d19237c4bced8b3e (diff) | |
download | gnunet-91b0d53f8835bd274997eddb28b74ebc5ef00340.tar.gz gnunet-91b0d53f8835bd274997eddb28b74ebc5ef00340.zip |
filenames can exceed 128 bytes, even in testcases
Diffstat (limited to 'src/include/platform.h')
-rw-r--r-- | src/include/platform.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/include/platform.h b/src/include/platform.h index 1bae7ca44..01b0bcf9e 100644 --- a/src/include/platform.h +++ b/src/include/platform.h | |||
@@ -11,7 +11,7 @@ | |||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | Affero General Public License for more details. | 13 | Affero General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU Affero General Public License | 15 | You should have received a copy of the GNU Affero General Public License |
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 | ||
@@ -281,4 +281,14 @@ atoll (const char *nptr); | |||
281 | */ | 281 | */ |
282 | #define GNUNET_TERM_SIG SIGTERM | 282 | #define GNUNET_TERM_SIG SIGTERM |
283 | 283 | ||
284 | |||
285 | #ifndef PATH_MAX | ||
286 | /** | ||
287 | * Assumed maximum path length. | ||
288 | */ | ||
289 | #define PATH_MAX 4096 | ||
290 | #endif | ||
291 | |||
292 | |||
293 | |||
284 | #endif | 294 | #endif |