https://github.com/JuliaLang/julia
Raw File
Tip revision: f310ec33adedc996662c7284eb71141992692423 authored by Jameson Nash on 20 August 2015, 19:23:01 UTC
convert an unused if statement into an assert
Tip revision: f310ec3
file_constants.h
// This file is a part of Julia. License is MIT: http://julialang.org/license

#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
const JL_DUMMY = 0
const JL_O_WRONLY      = O_WRONLY
const JL_O_RDONLY      = O_RDONLY
const JL_O_RDWR        = O_RDWR
const JL_O_APPEND      = O_APPEND
const JL_O_CREAT       = O_CREAT
const JL_O_EXCL        = O_EXCL
const JL_O_TRUNC       = O_TRUNC
#ifdef O_TEMPORARY
const JL_O_TEMPORARY   = O_TEMPORARY
#endif
#ifdef O_SHORT_LIVED
const JL_O_SHORT_LIVED  = O_SHORT_LIVED
#endif
#ifdef O_SEQUENTIAL
const JL_O_SEQUENTIAL   = O_SEQUENTIAL
#endif
#ifdef O_RANDOM
const JL_O_RANDOM       = O_RANDOM
#endif
#ifdef O_NOCTTY
const JL_O_NOCTTY       = O_NOCTTY
#endif
back to top